#9E204F#9E204F

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

Color values

HEX#9E204F
RGBrgb(158, 32, 79)
HSLhsl(338, 66%, 37%)
HSVhsv(338, 80%, 62%)
CMYKcmyk(0%, 79.7%, 50%, 38%)
CIE-LABlab(35.73, 53.27, 4.51)
CIE-LCHlch(35.73, 53.46, 4.84°)
OKLaboklab(46.73% 0.1631 0.012)
OKLCHoklch(46.73% 0.164 4.2)
XYZxyz(16.0298, 8.8689, 8.2634)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E204F #209E6F
analogous
#9E208E #9E204F #9E3020
triadic
#9E204F #4F9E20 #204F9E
tetradic
#9E204F #8E9E20 #209E6F #30209E
square
#9E204F #8E9E20 #209E6F #30209E
split-complementary
#9E204F #209E30 #208E9E
monochromatic
#380B1C #6B1636 #9E204F #D12A68 #DE5B8C

Accessibility & contrast

On white

7.57
#9E204F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E204F
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E204F#FFFFFF#000000##FFFFFF
##9E204F1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404450
Deuteranopia (green-blind)
#615D4C
Tritanopia (blue-blind)
#AC0035
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e204f;
/* rgb */ color: rgb(158, 32, 79);
/* oklch */ color: oklch(46.7% 0.164 4.2);
Tailwind
colors: {
  custom: {
    50: '#c06980',
    500: '#9e204f',
    950: '#000000',
  },
}
SCSS
$custom: #9e204f;
$custom-light: #c06980;
$custom-dark: #000000;
JSON
{
  "hex": "#9e204f",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 79
  },
  "hsl": {
    "h": 337.619,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46726,
    "c": 0.16358,
    "h": 4.2
  },
  "luminance": 0.08867
}

Semantic roles & 50–950 ramp

primary
#9E204F
secondary
#58C29A
accent
#E9AA3F
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E204F

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

Preview Lab → · Contrast checker → · Palette generator →

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