#9E2251#9E2251

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

Color values

HEX#9E2251
RGBrgb(158, 34, 81)
HSLhsl(337, 65%, 38%)
HSVhsv(337, 78%, 62%)
CMYKcmyk(0%, 78.5%, 48.7%, 38%)
CIE-LABlab(36.00, 52.84, 3.61)
CIE-LCHlch(36.00, 52.96, 3.91°)
OKLaboklab(46.94% 0.1619 0.0098)
OKLCHoklch(46.94% 0.162 3.5)
XYZxyz(16.1592, 9.0094, 8.6711)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2251 #229E6F
analogous
#9E228F #9E2251 #9E3122
triadic
#9E2251 #519E22 #22519E
tetradic
#9E2251 #8F9E22 #229E6F #31229E
square
#9E2251 #8F9E22 #229E6F #31229E
split-complementary
#9E2251 #229E31 #228F9E
monochromatic
#390C1D #6C1737 #9E2251 #D02D6B #DC5E8E

Accessibility & contrast

On white

7.50
#9E2251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9E2251 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2251
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2251#FFFFFF#000000##FFFFFF
##9E22511.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404552
Deuteranopia (green-blind)
#615D4E
Tritanopia (blue-blind)
#AC0137
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2251;
/* rgb */ color: rgb(158, 34, 81);
/* oklch */ color: oklch(46.9% 0.162 3.5);
Tailwind
colors: {
  custom: {
    50: '#c06a81',
    500: '#9e2251',
    950: '#000000',
  },
}
SCSS
$custom: #9e2251;
$custom-light: #c06a81;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2251",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 81
  },
  "hsl": {
    "h": 337.258,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46944,
    "c": 0.16221,
    "h": 3.5
  },
  "luminance": 0.09007
}

Semantic roles & 50–950 ramp

primary
#9E2251
secondary
#5BC19A
accent
#E8A840
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E2251

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

Preview Lab → · Contrast checker → · Palette generator →

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