#9D1954#9D1954

#9D1954 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.170 H 0.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#9D1954
RGBrgb(157, 25, 84)
HSLhsl(333, 73%, 36%)
HSVhsv(333, 84%, 62%)
CMYKcmyk(0%, 84.1%, 46.5%, 38.4%)
CIE-LABlab(35.01, 55.34, 0.22)
CIE-LCHlch(35.01, 55.34, 0.22°)
OKLaboklab(46.21% 0.1702 0.0012)
OKLCHoklch(46.21% 0.17 0.4)
XYZxyz(15.8538, 8.5056, 9.1927)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1954 #199D62
analogous
#9D1996 #9D1954 #9D2019
triadic
#9D1954 #549D19 #19549D
tetradic
#9D1954 #969D19 #199D62 #20199D
square
#9D1954 #969D19 #199D62 #20199D
split-complementary
#9D1954 #199D20 #19969D
monochromatic
#33081C #681138 #9D1954 #D22170 #E34E90

Accessibility & contrast

On white

7.78
#9D1954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9D1954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1954
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1954#FFFFFF#000000##FFFFFF
##9D19541.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4255
Deuteranopia (green-blind)
#5E5B51
Tritanopia (blue-blind)
#AB0035
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1954;
/* rgb */ color: rgb(157, 25, 84);
/* oklch */ color: oklch(46.2% 0.170 0.4);
Tailwind
colors: {
  custom: {
    50: '#c06783',
    500: '#9d1954',
    950: '#000000',
  },
}
SCSS
$custom: #9d1954;
$custom-light: #c06783;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1954",
  "rgb": {
    "r": 157,
    "g": 25,
    "b": 84
  },
  "hsl": {
    "h": 333.182,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46214,
    "c": 0.17024,
    "h": 0.4
  },
  "luminance": 0.08503
}

Semantic roles & 50–950 ramp

primary
#9D1954
secondary
#4DC58F
accent
#EF9E39
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1954

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

Preview Lab → · Contrast checker → · Palette generator →

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