#9A1D5F#9A1D5F

#9A1D5F is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.169 H 354.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9A1D5F
RGBrgb(154, 29, 95)
HSLhsl(328, 68%, 36%)
HSVhsv(328, 81%, 60%)
CMYKcmyk(0%, 81.2%, 38.3%, 39.6%)
CIE-LABlab(35.16, 54.61, -6.74)
CIE-LCHlch(35.16, 55.02, 352.97°)
OKLaboklab(46.33% 0.1679 -0.0171)
OKLCHoklch(46.33% 0.169 354.2)
XYZxyz(15.8324, 8.5770, 11.6460)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D5F #1D9A58
analogous
#961D9A #9A1D5F #9A1D20
triadic
#9A1D5F #5F9A1D #1D5F9A
tetradic
#9A1D5F #9A961D #1D9A58 #1D209A
square
#9A1D5F #9A961D #1D9A58 #1D209A
split-complementary
#9A1D5F #209A1D #1D9A96
monochromatic
#330A1F #66133F #9A1D5F #CE277F #DF539D

Accessibility & contrast

On white

7.73
#9A1D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9A1D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D5F
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D5F#FFFFFF#000000##FFFFFF
##9A1D5F1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374461
Deuteranopia (green-blind)
#5A5B5C
Tritanopia (blue-blind)
#A70A3C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9a1d5f;
/* rgb */ color: rgb(154, 29, 95);
/* oklch */ color: oklch(46.3% 0.169 354.2);
Tailwind
colors: {
  custom: {
    50: '#bd688c',
    500: '#9a1d5f',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d5f;
$custom-light: #bd688c;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d5f",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 95
  },
  "hsl": {
    "h": 328.32,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46332,
    "c": 0.16879,
    "h": 354.2
  },
  "luminance": 0.08575
}

Semantic roles & 50–950 ramp

primary
#9A1D5F
secondary
#51C286
accent
#EB8F3D
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9A1D5F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9A1D5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva