#9E1852#9E1852

#9E1852 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.3% C 0.171 H 1.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#9E1852
RGBrgb(158, 24, 82)
HSLhsl(334, 74%, 36%)
HSVhsv(334, 85%, 62%)
CMYKcmyk(0%, 84.8%, 48.1%, 38%)
CIE-LABlab(35.07, 55.67, 1.62)
CIE-LCHlch(35.07, 55.69, 1.67°)
OKLaboklab(46.27% 0.1711 0.0048)
OKLCHoklch(46.27% 0.171 1.6)
XYZxyz(15.9516, 8.5338, 8.7882)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1852 #189E64
analogous
#9E1895 #9E1852 #9E2118
triadic
#9E1852 #529E18 #18529E
tetradic
#9E1852 #959E18 #189E64 #21189E
square
#9E1852 #959E18 #189E64 #21189E
split-complementary
#9E1852 #189E21 #18959E
monochromatic
#34081B #691036 #9E1852 #D3206E #E44D8E

Accessibility & contrast

On white

7.76
#9E1852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9E1852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1852
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1852#FFFFFF#000000##FFFFFF
##9E18521.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1852;
/* rgb */ color: rgb(158, 24, 82);
/* oklch */ color: oklch(46.3% 0.171 1.6);
Tailwind
colors: {
  custom: {
    50: '#c16782',
    500: '#9e1852',
    950: '#000000',
  },
}
SCSS
$custom: #9e1852;
$custom-light: #c16782;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1852",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 334.03,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46271,
    "c": 0.17117,
    "h": 1.6
  },
  "luminance": 0.08532
}

Semantic roles & 50–950 ramp

primary
#9E1852
secondary
#4CC691
accent
#F0A038
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1852

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

Preview Lab → · Contrast checker → · Palette generator →

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