#9D214E#9D214E

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

Color values

HEX#9D214E
RGBrgb(157, 33, 78)
HSLhsl(338, 65%, 37%)
HSVhsv(338, 79%, 62%)
CMYKcmyk(0%, 79%, 50.3%, 38.4%)
CIE-LABlab(35.61, 52.60, 4.97)
CIE-LCHlch(35.61, 52.83, 5.39°)
OKLaboklab(46.59% 0.161 0.0132)
OKLCHoklch(46.59% 0.162 4.7)
XYZxyz(15.8250, 8.8081, 8.0731)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D214E #219D70
analogous
#9D218C #9D214E #9D3221
triadic
#9D214E #4E9D21 #214E9D
tetradic
#9D214E #8C9D21 #219D70 #32219D
square
#9D214E #8C9D21 #219D70 #32219D
split-complementary
#9D214E #219D32 #218C9D
monochromatic
#380C1C #6A1635 #9D214E #D02C67 #DD5C8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D214E#FFFFFF#000000##FFFFFF
##9D214E1.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)
#40444F
Deuteranopia (green-blind)
#615D4B
Tritanopia (blue-blind)
#AB0035
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d214e;
/* rgb */ color: rgb(157, 33, 78);
/* oklch */ color: oklch(46.6% 0.162 4.7);
Tailwind
colors: {
  custom: {
    50: '#c0697f',
    500: '#9d214e',
    950: '#000000',
  },
}
SCSS
$custom: #9d214e;
$custom-light: #c0697f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d214e",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 78
  },
  "hsl": {
    "h": 338.226,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46594,
    "c": 0.16151,
    "h": 4.7
  },
  "luminance": 0.08806
}

Semantic roles & 50–950 ramp

primary
#9D214E
secondary
#59C19B
accent
#E8AB40
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D214E

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

Preview Lab → · Contrast checker → · Palette generator →

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