#9F215C#9F215C

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

Color values

HEX#9F215C
RGBrgb(159, 33, 92)
HSLhsl(332, 66%, 38%)
HSVhsv(332, 79%, 62%)
CMYKcmyk(0%, 79.2%, 42.1%, 37.6%)
CIE-LABlab(36.43, 54.47, -2.81)
CIE-LCHlch(36.43, 54.55, 357.04°)
OKLaboklab(47.41% 0.1675 -0.0067)
OKLCHoklch(47.41% 0.168 357.7)
XYZxyz(16.7749, 9.2335, 11.0220)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F215C #219F64
analogous
#9F219B #9F215C #9F2521
triadic
#9F215C #5C9F21 #215C9F
tetradic
#9F215C #9B9F21 #219F64 #25219F
square
#9F215C #9B9F21 #219F64 #25219F
split-complementary
#9F215C #219F25 #219B9F
monochromatic
#3A0C21 #6C163F #9F215C #D22C79 #DD5D99

Accessibility & contrast

On white

7.38
#9F215C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F215C
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F215C#FFFFFF#000000##FFFFFF
##9F215C1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D475D
Deuteranopia (green-blind)
#605E59
Tritanopia (blue-blind)
#AC093C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f215c;
/* rgb */ color: rgb(159, 33, 92);
/* oklch */ color: oklch(47.4% 0.168 357.7);
Tailwind
colors: {
  custom: {
    50: '#c16a8a',
    500: '#9f215c',
    950: '#000000',
  },
}
SCSS
$custom: #9f215c;
$custom-light: #c16a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f215c",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 92
  },
  "hsl": {
    "h": 331.905,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47405,
    "c": 0.16764,
    "h": 357.7
  },
  "luminance": 0.09231
}

Semantic roles & 50–950 ramp

primary
#9F215C
secondary
#5AC291
accent
#E9993F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F215C

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

Preview Lab → · Contrast checker → · Palette generator →

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