#9D215E#9D215E

#9D215E is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.167 H 356.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#9D215E
RGBrgb(157, 33, 94)
HSLhsl(330, 65%, 37%)
HSVhsv(330, 79%, 62%)
CMYKcmyk(0%, 79%, 40.1%, 38.4%)
CIE-LABlab(36.11, 54.14, -4.61)
CIE-LCHlch(36.11, 54.33, 355.13°)
OKLaboklab(47.12% 0.1664 -0.0114)
OKLCHoklch(47.12% 0.167 356.1)
XYZxyz(16.4700, 9.0661, 11.4701)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D215E #219D60
analogous
#9D219C #9D215E #9D2221
triadic
#9D215E #5E9D21 #215E9D
tetradic
#9D215E #9C9D21 #219D60 #22219D
square
#9D215E #9C9D21 #219D60 #22219D
split-complementary
#9D215E #219D22 #219C9D
monochromatic
#380C21 #6A1640 #9D215E #D02C7C #DD5C9B

Accessibility & contrast

On white

7.47
#9D215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9D215E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D215E
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D215E#FFFFFF#000000##FFFFFF
##9D215E1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4660
Deuteranopia (green-blind)
#5E5D5B
Tritanopia (blue-blind)
#AA0E3D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d215e;
/* rgb */ color: rgb(157, 33, 94);
/* oklch */ color: oklch(47.1% 0.167 356.1);
Tailwind
colors: {
  custom: {
    50: '#bf6a8b',
    500: '#9d215e',
    950: '#000000',
  },
}
SCSS
$custom: #9d215e;
$custom-light: #bf6a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d215e",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 330.484,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47123,
    "c": 0.16684,
    "h": 356.1
  },
  "luminance": 0.09064
}

Semantic roles & 50–950 ramp

primary
#9D215E
secondary
#59C18E
accent
#E89540
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D215E

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

Preview Lab → · Contrast checker → · Palette generator →

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