#9F215E#9F215E

#9F215E is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.168 H 356.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9F215E
RGBrgb(159, 33, 94)
HSLhsl(331, 66%, 38%)
HSVhsv(331, 79%, 62%)
CMYKcmyk(0%, 79.2%, 40.9%, 37.6%)
CIE-LABlab(36.50, 54.68, -4.00)
CIE-LCHlch(36.50, 54.82, 355.82°)
OKLaboklab(47.48% 0.1681 -0.0098)
OKLCHoklch(47.48% 0.168 356.7)
XYZxyz(16.8635, 9.2690, 11.4886)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F215E #219F62
analogous
#9F219D #9F215E #9F2321
triadic
#9F215E #5E9F21 #215E9F
tetradic
#9F215E #9D9F21 #219F62 #23219F
square
#9F215E #9D9F21 #219F62 #23219F
split-complementary
#9F215E #219F23 #219D9F
monochromatic
#3A0C22 #6C1640 #9F215E #D22C7C #DD5D9B

Accessibility & contrast

On white

7.36
#9F215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9F215E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F215E
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F215E#FFFFFF#000000##FFFFFF
##9F215E1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C475F
Deuteranopia (green-blind)
#5F5E5B
Tritanopia (blue-blind)
#AC0B3D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f215e;
/* rgb */ color: rgb(159, 33, 94);
/* oklch */ color: oklch(47.5% 0.168 356.7);
Tailwind
colors: {
  custom: {
    50: '#c06a8b',
    500: '#9f215e',
    950: '#000000',
  },
}
SCSS
$custom: #9f215e;
$custom-light: #c06a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f215e",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 330.952,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47476,
    "c": 0.16843,
    "h": 356.7
  },
  "luminance": 0.09267
}

Semantic roles & 50–950 ramp

primary
#9F215E
secondary
#5AC290
accent
#E9973F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F215E

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

Preview Lab → · Contrast checker → · Palette generator →

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