#9E1752#9E1752

#9E1752 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.172 H 1.5°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#9E1752
RGBrgb(158, 23, 82)
HSLhsl(334, 75%, 35%)
HSVhsv(334, 85%, 62%)
CMYKcmyk(0%, 85.4%, 48.1%, 38%)
CIE-LABlab(34.99, 55.90, 1.50)
CIE-LCHlch(34.99, 55.92, 1.54°)
OKLaboklab(46.21% 0.1719 0.0045)
OKLCHoklch(46.21% 0.172 1.5)
XYZxyz(15.9313, 8.4933, 8.7815)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1752 #179E63
analogous
#9E1795 #9E1752 #9E2017
triadic
#9E1752 #529E17 #17529E
tetradic
#9E1752 #959E17 #179E63 #20179E
square
#9E1752 #959E17 #179E63 #20179E
split-complementary
#9E1752 #179E20 #17959E
monochromatic
#33071B #690F36 #9E1752 #D31F6E #E54B8E

Accessibility & contrast

On white

7.78
#9E1752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9E1752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1752
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1752#FFFFFF#000000##FFFFFF
##9E17521.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4253
Deuteranopia (green-blind)
#5F5B4F
Tritanopia (blue-blind)
#AC0033
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1752;
/* rgb */ color: rgb(158, 23, 82);
/* oklch */ color: oklch(46.2% 0.172 1.5);
Tailwind
colors: {
  custom: {
    50: '#c16682',
    500: '#9e1752',
    950: '#000000',
  },
}
SCSS
$custom: #9e1752;
$custom-light: #c16682;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1752",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 82
  },
  "hsl": {
    "h": 333.778,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46212,
    "c": 0.17191,
    "h": 1.5
  },
  "luminance": 0.08491
}

Semantic roles & 50–950 ramp

primary
#9E1752
secondary
#4AC690
accent
#F1A037
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1752

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

Preview Lab → · Contrast checker → · Palette generator →

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