#9E1C42#9E1C42

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

Color values

HEX#9E1C42
RGBrgb(158, 28, 66)
HSLhsl(342, 70%, 36%)
HSVhsv(342, 82%, 62%)
CMYKcmyk(0%, 82.3%, 58.2%, 38%)
CIE-LABlab(34.99, 53.37, 11.91)
CIE-LCHlch(34.99, 54.69, 12.58°)
OKLaboklab(46.07% 0.1618 0.0298)
OKLCHoklch(46.07% 0.165 10.4)
XYZxyz(15.5007, 8.4953, 5.9767)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1C42 #1C9E78
analogous
#9E1C83 #9E1C42 #9E371C
triadic
#9E1C42 #429E1C #1C429E
tetradic
#9E1C42 #839E1C #1C9E78 #371C9E
square
#9E1C42 #839E1C #1C9E78 #371C9E
split-complementary
#9E1C42 #1C9E37 #1C839E
monochromatic
#360A17 #6A132C #9E1C42 #D22558 #E1547D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1C42#FFFFFF#000000##FFFFFF
##9E1C421.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)
#414243
Deuteranopia (green-blind)
#625C3F
Tritanopia (blue-blind)
#AD002D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1c42;
/* rgb */ color: rgb(158, 28, 66);
/* oklch */ color: oklch(46.1% 0.165 10.4);
Tailwind
colors: {
  custom: {
    50: '#c16776',
    500: '#9e1c42',
    950: '#000000',
  },
}
SCSS
$custom: #9e1c42;
$custom-light: #c16776;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1c42",
  "rgb": {
    "r": 158,
    "g": 28,
    "b": 66
  },
  "hsl": {
    "h": 342.462,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46074,
    "c": 0.16452,
    "h": 10.4
  },
  "luminance": 0.08493
}

Semantic roles & 50–950 ramp

primary
#9E1C42
secondary
#52C4A2
accent
#EDB93B
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1C42

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

Preview Lab → · Contrast checker → · Palette generator →

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