#9A1D6B#9A1D6B

#9A1D6B is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.175 H 348.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#9A1D6B
RGBrgb(154, 29, 107)
HSLhsl(323, 68%, 36%)
HSVhsv(323, 81%, 60%)
CMYKcmyk(0%, 81.2%, 30.5%, 39.6%)
CIE-LABlab(35.62, 55.97, -13.70)
CIE-LCHlch(35.62, 57.63, 346.25°)
OKLaboklab(46.82% 0.171 -0.0361)
OKLCHoklch(46.82% 0.175 348.1)
XYZxyz(16.4205, 8.8122, 14.7433)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D6B #1D9A4C
analogous
#8A1D9A #9A1D6B #9A1D2C
triadic
#9A1D6B #6B9A1D #1D6B9A
tetradic
#9A1D6B #9A8A1D #1D9A4C #1D2C9A
square
#9A1D6B #9A8A1D #1D9A4C #1D2C9A
split-complementary
#9A1D6B #2C9A1D #1D9A8A
monochromatic
#330A23 #661347 #9A1D6B #CE278F #DF53AA

Accessibility & contrast

On white

7.60
#9A1D6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9A1D6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D6B
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D6B#FFFFFF#000000##FFFFFF
##9A1D6B1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32466D
Deuteranopia (green-blind)
#575B68
Tritanopia (blue-blind)
#A51642
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a1d6b;
/* rgb */ color: rgb(154, 29, 107);
/* oklch */ color: oklch(46.8% 0.175 348.1);
Tailwind
colors: {
  custom: {
    50: '#bc6895',
    500: '#9a1d6b',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d6b;
$custom-light: #bc6895;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d6b",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 107
  },
  "hsl": {
    "h": 322.56,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46821,
    "c": 0.17475,
    "h": 348.1
  },
  "luminance": 0.0881
}

Semantic roles & 50–950 ramp

primary
#9A1D6B
secondary
#51C27B
accent
#EB7E3D
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9A1D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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