#9F204A#9F204A

#9F204A is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.163 H 7.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#9F204A
RGBrgb(159, 32, 74)
HSLhsl(340, 66%, 37%)
HSVhsv(340, 80%, 62%)
CMYKcmyk(0%, 79.9%, 53.5%, 37.6%)
CIE-LABlab(35.79, 53.13, 7.86)
CIE-LCHlch(35.79, 53.71, 8.42°)
OKLaboklab(46.76% 0.1621 0.0203)
OKLCHoklch(46.76% 0.163 7.1)
XYZxyz(16.0521, 8.9007, 7.3500)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F204A #209F75
analogous
#9F208A #9F204A #9F3520
triadic
#9F204A #4A9F20 #204A9F
tetradic
#9F204A #8A9F20 #209F75 #35209F
square
#9F204A #8A9F20 #209F75 #35209F
split-complementary
#9F204A #209F35 #208A9F
monochromatic
#390B1B #6C1632 #9F204A #D22A62 #DE5B87

Accessibility & contrast

On white

7.56
#9F204A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9F204A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F204A
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F204A#FFFFFF#000000##FFFFFF
##9F204A1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42444B
Deuteranopia (green-blind)
#635D47
Tritanopia (blue-blind)
#AE0032
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f204a;
/* rgb */ color: rgb(159, 32, 74);
/* oklch */ color: oklch(46.8% 0.163 7.1);
Tailwind
colors: {
  custom: {
    50: '#c2697c',
    500: '#9f204a',
    950: '#000000',
  },
}
SCSS
$custom: #9f204a;
$custom-light: #c2697c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f204a",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 74
  },
  "hsl": {
    "h": 340.157,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46762,
    "c": 0.16332,
    "h": 7.1
  },
  "luminance": 0.08898
}

Semantic roles & 50–950 ramp

primary
#9F204A
secondary
#59C29F
accent
#E9B13E
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F204A

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

Preview Lab → · Contrast checker → · Palette generator →

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