#9F2152#9F2152

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

Color values

HEX#9F2152
RGBrgb(159, 33, 82)
HSLhsl(337, 66%, 38%)
HSVhsv(337, 79%, 62%)
CMYKcmyk(0%, 79.2%, 48.4%, 37.6%)
CIE-LABlab(36.12, 53.52, 3.16)
CIE-LCHlch(36.12, 53.61, 3.38°)
OKLaboklab(47.08% 0.1641 0.0087)
OKLCHoklch(47.08% 0.164 3)
XYZxyz(16.3663, 9.0701, 8.8699)
Luminance0.0907 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2152 #219F6E
analogous
#9F2191 #9F2152 #9F2F21
triadic
#9F2152 #529F21 #21529F
tetradic
#9F2152 #919F21 #219F6E #2F219F
square
#9F2152 #919F21 #219F6E #2F219F
split-complementary
#9F2152 #219F2F #21919F
monochromatic
#3A0C1E #6C1638 #9F2152 #D22C6C #DD5D8F

Accessibility & contrast

On white

7.46
#9F2152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9F2152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2152
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2152#FFFFFF#000000##FFFFFF
##9F21521.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404553
Deuteranopia (green-blind)
#625E4F
Tritanopia (blue-blind)
#AD0037
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f2152;
/* rgb */ color: rgb(159, 33, 82);
/* oklch */ color: oklch(47.1% 0.164 3.0);
Tailwind
colors: {
  custom: {
    50: '#c16a82',
    500: '#9f2152',
    950: '#000000',
  },
}
SCSS
$custom: #9f2152;
$custom-light: #c16a82;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2152",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 336.667,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47075,
    "c": 0.16432,
    "h": 3
  },
  "luminance": 0.09068
}

Semantic roles & 50–950 ramp

primary
#9F2152
secondary
#5AC299
accent
#E9A73F
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F2152

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

Preview Lab → · Contrast checker → · Palette generator →

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