#9E204E#9E204E

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

Color values

HEX#9E204E
RGBrgb(158, 32, 78)
HSLhsl(338, 66%, 37%)
HSVhsv(338, 80%, 62%)
CMYKcmyk(0%, 79.7%, 50.6%, 38%)
CIE-LABlab(35.70, 53.19, 5.12)
CIE-LCHlch(35.70, 53.43, 5.50°)
OKLaboklab(46.7% 0.1628 0.0136)
OKLCHoklch(46.7% 0.163 4.8)
XYZxyz(15.9936, 8.8544, 8.0731)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E204E #209E70
analogous
#9E208D #9E204E #9E3120
triadic
#9E204E #4E9E20 #204E9E
tetradic
#9E204E #8D9E20 #209E70 #31209E
square
#9E204E #8D9E20 #209E70 #31209E
split-complementary
#9E204E #209E31 #208D9E
monochromatic
#380B1C #6B1635 #9E204E #D12A67 #DE5B8B

Accessibility & contrast

On white

7.58
#9E204E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9E204E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E204E
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E204E#FFFFFF#000000##FFFFFF
##9E204E1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444F
Deuteranopia (green-blind)
#615D4B
Tritanopia (blue-blind)
#AC0034
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e204e;
/* rgb */ color: rgb(158, 32, 78);
/* oklch */ color: oklch(46.7% 0.163 4.8);
Tailwind
colors: {
  custom: {
    50: '#c0697f',
    500: '#9e204e',
    950: '#000000',
  },
}
SCSS
$custom: #9e204e;
$custom-light: #c0697f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e204e",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 78
  },
  "hsl": {
    "h": 338.095,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46696,
    "c": 0.16332,
    "h": 4.8
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

primary
#9E204E
secondary
#58C29B
accent
#E9AB3F
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E204E

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

Preview Lab → · Contrast checker → · Palette generator →

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