#9F204E#9F204E

#9F204E is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.164 H 5.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9F204E
RGBrgb(159, 32, 78)
HSLhsl(338, 66%, 37%)
HSVhsv(338, 80%, 62%)
CMYKcmyk(0%, 79.9%, 50.9%, 37.6%)
CIE-LABlab(35.90, 53.47, 5.43)
CIE-LCHlch(35.90, 53.74, 5.80°)
OKLaboklab(46.88% 0.1636 0.0143)
OKLCHoklch(46.88% 0.164 5)
XYZxyz(16.1912, 8.9563, 8.0824)
Luminance0.0895 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F204E #209F71
analogous
#9F208D #9F204E #9F3220
triadic
#9F204E #4E9F20 #204E9F
tetradic
#9F204E #8D9F20 #209F71 #32209F
square
#9F204E #8D9F20 #209F71 #32209F
split-complementary
#9F204E #209F32 #208D9F
monochromatic
#390B1C #6C1635 #9F204E #D22A67 #DE5B8B

Accessibility & contrast

On white

7.52
#9F204E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9F204E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F204E
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F204E#FFFFFF#000000##FFFFFF
##9F204E1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41444F
Deuteranopia (green-blind)
#625D4B
Tritanopia (blue-blind)
#AD0034
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f204e;
/* rgb */ color: rgb(159, 32, 78);
/* oklch */ color: oklch(46.9% 0.164 5.0);
Tailwind
colors: {
  custom: {
    50: '#c1697f',
    500: '#9f204e',
    950: '#000000',
  },
}
SCSS
$custom: #9f204e;
$custom-light: #c1697f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f204e",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 78
  },
  "hsl": {
    "h": 338.268,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46877,
    "c": 0.1642,
    "h": 5
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

primary
#9F204E
secondary
#59C29C
accent
#E9AB3E
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F204E

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

Preview Lab → · Contrast checker → · Palette generator →

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