#9D214D#9D214D

#9D214D is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.161 H 5.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#9D214D
RGBrgb(157, 33, 77)
HSLhsl(339, 65%, 37%)
HSVhsv(339, 79%, 62%)
CMYKcmyk(0%, 79%, 51%, 38.4%)
CIE-LABlab(35.58, 52.51, 5.57)
CIE-LCHlch(35.58, 52.81, 6.06°)
OKLaboklab(46.57% 0.1606 0.0147)
OKLCHoklch(46.57% 0.161 5.2)
XYZxyz(15.7894, 8.7938, 7.8857)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D214D #219D71
analogous
#9D218B #9D214D #9D3321
triadic
#9D214D #4D9D21 #214D9D
tetradic
#9D214D #8B9D21 #219D71 #33219D
square
#9D214D #8B9D21 #219D71 #33219D
split-complementary
#9D214D #219D33 #218B9D
monochromatic
#380C1B #6A1634 #9D214D #D02C66 #DD5C89

Accessibility & contrast

On white

7.61
#9D214D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D214D
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D214D#FFFFFF#000000##FFFFFF
##9D214D1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41444E
Deuteranopia (green-blind)
#615C4A
Tritanopia (blue-blind)
#AB0034
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d214d;
/* rgb */ color: rgb(157, 33, 77);
/* oklch */ color: oklch(46.6% 0.161 5.2);
Tailwind
colors: {
  custom: {
    50: '#c0697e',
    500: '#9d214d',
    950: '#000000',
  },
}
SCSS
$custom: #9d214d;
$custom-light: #c0697e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d214d",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 77
  },
  "hsl": {
    "h": 338.71,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46565,
    "c": 0.16127,
    "h": 5.2
  },
  "luminance": 0.08792
}

Semantic roles & 50–950 ramp

primary
#9D214D
secondary
#59C19C
accent
#E8AC40
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D214D

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

Preview Lab → · Contrast checker → · Palette generator →

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