#9F2154#9F2154

#9F2154 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.165 H 1.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#9F2154
RGBrgb(159, 33, 84)
HSLhsl(336, 66%, 38%)
HSVhsv(336, 79%, 62%)
CMYKcmyk(0%, 79.2%, 47.2%, 37.6%)
CIE-LABlab(36.18, 53.70, 1.96)
CIE-LCHlch(36.18, 53.74, 2.09°)
OKLaboklab(47.14% 0.1648 0.0056)
OKLCHoklch(47.14% 0.165 1.9)
XYZxyz(16.4435, 9.1010, 9.2766)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2154 #219F6C
analogous
#9F2193 #9F2154 #9F2D21
triadic
#9F2154 #549F21 #21549F
tetradic
#9F2154 #939F21 #219F6C #2D219F
square
#9F2154 #939F21 #219F6C #2D219F
split-complementary
#9F2154 #219F2D #21939F
monochromatic
#3A0C1E #6C1639 #9F2154 #D22C6F #DD5D91

Accessibility & contrast

On white

7.45
#9F2154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9F2154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2154
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2154#FFFFFF#000000##FFFFFF
##9F21541.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404655
Deuteranopia (green-blind)
#615E51
Tritanopia (blue-blind)
#AD0038
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f2154;
/* rgb */ color: rgb(159, 33, 84);
/* oklch */ color: oklch(47.1% 0.165 1.9);
Tailwind
colors: {
  custom: {
    50: '#c16a83',
    500: '#9f2154',
    950: '#000000',
  },
}
SCSS
$custom: #9f2154;
$custom-light: #c16a83;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2154",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 335.714,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47137,
    "c": 0.1649,
    "h": 1.9
  },
  "luminance": 0.09099
}

Semantic roles & 50–950 ramp

primary
#9F2154
secondary
#5AC298
accent
#E9A43F
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F2154

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

Preview Lab → · Contrast checker → · Palette generator →

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