#9F215B#9F215B

#9F215B is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.167 H 358.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9F215B
RGBrgb(159, 33, 91)
HSLhsl(332, 66%, 38%)
HSVhsv(332, 79%, 62%)
CMYKcmyk(0%, 79.2%, 42.8%, 37.6%)
CIE-LABlab(36.40, 54.37, -2.22)
CIE-LCHlch(36.40, 54.42, 357.66°)
OKLaboklab(47.37% 0.1672 -0.0052)
OKLCHoklch(47.37% 0.167 358.2)
XYZxyz(16.7315, 9.2162, 10.7933)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F215B #219F65
analogous
#9F219A #9F215B #9F2621
triadic
#9F215B #5B9F21 #215B9F
tetradic
#9F215B #9A9F21 #219F65 #26219F
square
#9F215B #9A9F21 #219F65 #26219F
split-complementary
#9F215B #219F26 #219A9F
monochromatic
#3A0C21 #6C163E #9F215B #D22C78 #DD5D98

Accessibility & contrast

On white

7.39
#9F215B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9F215B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F215B
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F215B#FFFFFF#000000##FFFFFF
##9F215B1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D465C
Deuteranopia (green-blind)
#605E58
Tritanopia (blue-blind)
#AD083B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f215b;
/* rgb */ color: rgb(159, 33, 91);
/* oklch */ color: oklch(47.4% 0.167 358.2);
Tailwind
colors: {
  custom: {
    50: '#c16a89',
    500: '#9f215b',
    950: '#000000',
  },
}
SCSS
$custom: #9f215b;
$custom-light: #c16a89;
$custom-dark: #000000;
JSON
{
  "hex": "#9f215b",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 91
  },
  "hsl": {
    "h": 332.381,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4737,
    "c": 0.16727,
    "h": 358.2
  },
  "luminance": 0.09214
}

Semantic roles & 50–950 ramp

primary
#9F215B
secondary
#5AC292
accent
#E99B3F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F215B

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

Preview Lab → · Contrast checker → · Palette generator →

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