#9F215D#9F215D

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

Color values

HEX#9F215D
RGBrgb(159, 33, 93)
HSLhsl(331, 66%, 38%)
HSVhsv(331, 79%, 62%)
CMYKcmyk(0%, 79.2%, 41.5%, 37.6%)
CIE-LABlab(36.46, 54.57, -3.41)
CIE-LCHlch(36.46, 54.68, 356.43°)
OKLaboklab(47.44% 0.1678 -0.0083)
OKLCHoklch(47.44% 0.168 357.2)
XYZxyz(16.8190, 9.2511, 11.2538)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F215D #219F63
analogous
#9F219C #9F215D #9F2421
triadic
#9F215D #5D9F21 #215D9F
tetradic
#9F215D #9C9F21 #219F63 #24219F
square
#9F215D #9C9F21 #219F63 #24219F
split-complementary
#9F215D #219F24 #219C9F
monochromatic
#3A0C22 #6C163F #9F215D #D22C7B #DD5D9A

Accessibility & contrast

On white

7.37
#9F215D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F215D
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F215D#FFFFFF#000000##FFFFFF
##9F215D1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D475E
Deuteranopia (green-blind)
#5F5E5A
Tritanopia (blue-blind)
#AC0A3C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f215d;
/* rgb */ color: rgb(159, 33, 93);
/* oklch */ color: oklch(47.4% 0.168 357.2);
Tailwind
colors: {
  custom: {
    50: '#c06a8a',
    500: '#9f215d',
    950: '#000000',
  },
}
SCSS
$custom: #9f215d;
$custom-light: #c06a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f215d",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 93
  },
  "hsl": {
    "h": 331.429,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4744,
    "c": 0.16803,
    "h": 357.2
  },
  "luminance": 0.09249
}

Semantic roles & 50–950 ramp

primary
#9F215D
secondary
#5AC290
accent
#E9983F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F215D

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

Preview Lab → · Contrast checker → · Palette generator →

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