#9E2253#9E2253

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

Color values

HEX#9E2253
RGBrgb(158, 34, 83)
HSLhsl(336, 65%, 38%)
HSVhsv(336, 78%, 62%)
CMYKcmyk(0%, 78.5%, 47.5%, 38%)
CIE-LABlab(36.06, 53.02, 2.41)
CIE-LCHlch(36.06, 53.08, 2.60°)
OKLaboklab(47.01% 0.1626 0.0068)
OKLCHoklch(47.01% 0.163 2.4)
XYZxyz(16.2353, 9.0399, 9.0719)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2253 #229E6D
analogous
#9E2291 #9E2253 #9E2F22
triadic
#9E2253 #539E22 #22539E
tetradic
#9E2253 #919E22 #229E6D #2F229E
square
#9E2253 #919E22 #229E6D #2F229E
split-complementary
#9E2253 #229E2F #22919E
monochromatic
#390C1E #6C1739 #9E2253 #D02D6D #DC5E90

Accessibility & contrast

On white

7.48
#9E2253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9E2253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2253
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2253#FFFFFF#000000##FFFFFF
##9E22531.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404554
Deuteranopia (green-blind)
#615D50
Tritanopia (blue-blind)
#AC0338
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2253;
/* rgb */ color: rgb(158, 34, 83);
/* oklch */ color: oklch(47.0% 0.163 2.4);
Tailwind
colors: {
  custom: {
    50: '#c06a83',
    500: '#9e2253',
    950: '#000000',
  },
}
SCSS
$custom: #9e2253;
$custom-light: #c06a83;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2253",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 83
  },
  "hsl": {
    "h": 336.29,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47007,
    "c": 0.16278,
    "h": 2.4
  },
  "luminance": 0.09038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E2253

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

Preview Lab → · Contrast checker → · Palette generator →

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