#9E204B#9E204B

#9E204B is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.163 H 6.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#9E204B
RGBrgb(158, 32, 75)
HSLhsl(340, 66%, 37%)
HSVhsv(340, 80%, 62%)
CMYKcmyk(0%, 79.7%, 52.5%, 38%)
CIE-LABlab(35.62, 52.93, 6.95)
CIE-LCHlch(35.62, 53.39, 7.48°)
OKLaboklab(46.61% 0.1616 0.018)
OKLCHoklch(46.61% 0.163 6.4)
XYZxyz(15.8885, 8.8124, 7.5196)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E204B #209E73
analogous
#9E208A #9E204B #9E3420
triadic
#9E204B #4B9E20 #204B9E
tetradic
#9E204B #8A9E20 #209E73 #34209E
square
#9E204B #8A9E20 #209E73 #34209E
split-complementary
#9E204B #209E34 #208A9E
monochromatic
#380B1B #6B1633 #9E204B #D12A63 #DE5B87

Accessibility & contrast

On white

7.60
#9E204B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9E204B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E204B
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E204B#FFFFFF#000000##FFFFFF
##9E204B1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41444C
Deuteranopia (green-blind)
#625D48
Tritanopia (blue-blind)
#AD0033
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e204b;
/* rgb */ color: rgb(158, 32, 75);
/* oklch */ color: oklch(46.6% 0.163 6.4);
Tailwind
colors: {
  custom: {
    50: '#c1697d',
    500: '#9e204b',
    950: '#000000',
  },
}
SCSS
$custom: #9e204b;
$custom-light: #c1697d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e204b",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 75
  },
  "hsl": {
    "h": 339.524,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46609,
    "c": 0.16263,
    "h": 6.4
  },
  "luminance": 0.0881
}

Semantic roles & 50–950 ramp

primary
#9E204B
secondary
#58C29E
accent
#E9AF3F
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E204B

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

Preview Lab → · Contrast checker → · Palette generator →

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