#9F2159#9F2159

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

Color values

HEX#9F2159
RGBrgb(159, 33, 89)
HSLhsl(333, 66%, 38%)
HSVhsv(333, 79%, 62%)
CMYKcmyk(0%, 79.2%, 44%, 37.6%)
CIE-LABlab(36.33, 54.17, -1.03)
CIE-LCHlch(36.33, 54.18, 358.91°)
OKLaboklab(47.3% 0.1665 -0.0021)
OKLCHoklch(47.3% 0.167 359.3)
XYZxyz(16.6464, 9.1821, 10.3450)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2159 #219F67
analogous
#9F2198 #9F2159 #9F2821
triadic
#9F2159 #599F21 #21599F
tetradic
#9F2159 #989F21 #219F67 #28219F
square
#9F2159 #989F21 #219F67 #28219F
split-complementary
#9F2159 #219F28 #21989F
monochromatic
#3A0C20 #6C163D #9F2159 #D22C75 #DD5D96

Accessibility & contrast

On white

7.40
#9F2159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2159
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2159#FFFFFF#000000##FFFFFF
##9F21591.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E465A
Deuteranopia (green-blind)
#605E56
Tritanopia (blue-blind)
#AD063A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f2159;
/* rgb */ color: rgb(159, 33, 89);
/* oklch */ color: oklch(47.3% 0.167 359.3);
Tailwind
colors: {
  custom: {
    50: '#c16a87',
    500: '#9f2159',
    950: '#000000',
  },
}
SCSS
$custom: #9f2159;
$custom-light: #c16a87;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2159",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 333.333,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47301,
    "c": 0.16654,
    "h": 359.3
  },
  "luminance": 0.0918
}

Semantic roles & 50–950 ramp

primary
#9F2159
secondary
#5AC294
accent
#E99D3F
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F2159

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

Preview Lab → · Contrast checker → · Palette generator →

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