#9E2252#9E2252

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

Color values

HEX#9E2252
RGBrgb(158, 34, 82)
HSLhsl(337, 65%, 38%)
HSVhsv(337, 78%, 62%)
CMYKcmyk(0%, 78.5%, 48.1%, 38%)
CIE-LABlab(36.03, 52.93, 3.01)
CIE-LCHlch(36.03, 53.02, 3.25°)
OKLaboklab(46.98% 0.1623 0.0083)
OKLCHoklch(46.98% 0.162 2.9)
XYZxyz(16.1969, 9.0246, 8.8700)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2252 #229E6E
analogous
#9E2290 #9E2252 #9E3022
triadic
#9E2252 #529E22 #22529E
tetradic
#9E2252 #909E22 #229E6E #30229E
square
#9E2252 #909E22 #229E6E #30229E
split-complementary
#9E2252 #229E30 #22909E
monochromatic
#390C1E #6C1738 #9E2252 #D02D6C #DC5E8F

Accessibility & contrast

On white

7.49
#9E2252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2252
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2252#FFFFFF#000000##FFFFFF
##9E22521.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404553
Deuteranopia (green-blind)
#615D4F
Tritanopia (blue-blind)
#AC0237
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2252;
/* rgb */ color: rgb(158, 34, 82);
/* oklch */ color: oklch(47.0% 0.162 2.9);
Tailwind
colors: {
  custom: {
    50: '#c06a82',
    500: '#9e2252',
    950: '#000000',
  },
}
SCSS
$custom: #9e2252;
$custom-light: #c06a82;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2252",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 336.774,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46975,
    "c": 0.16249,
    "h": 2.9
  },
  "luminance": 0.09022
}

Semantic roles & 50–950 ramp

primary
#9E2252
secondary
#5BC199
accent
#E8A740
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E2252

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

Preview Lab → · Contrast checker → · Palette generator →

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