#9E1538#9E1538

#9E1538 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.169 H 14.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#9E1538
RGBrgb(158, 21, 56)
HSLhsl(345, 77%, 35%)
HSVhsv(345, 87%, 62%)
CMYKcmyk(0%, 86.7%, 64.6%, 38%)
CIE-LABlab(34.18, 54.43, 17.32)
CIE-LCHlch(34.18, 57.12, 17.65°)
OKLaboklab(45.4% 0.1633 0.0419)
OKLCHoklch(45.4% 0.169 14.4)
XYZxyz(15.0842, 8.0933, 4.5085)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1538 #159E7B
analogous
#9E157C #9E1538 #9E3715
triadic
#9E1538 #389E15 #15389E
tetradic
#9E1538 #7C9E15 #159E7B #37159E
square
#9E1538 #7C9E15 #159E7B #37159E
split-complementary
#9E1538 #159E37 #157C9E
monochromatic
#320712 #680E25 #9E1538 #D41C4B #E74770

Accessibility & contrast

On white

8.02
#9E1538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#9E1538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1538
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1538#FFFFFF#000000##FFFFFF
##9E15381.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403F38
Deuteranopia (green-blind)
#625A34
Tritanopia (blue-blind)
#AE0025
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9e1538;
/* rgb */ color: rgb(158, 21, 56);
/* oklch */ color: oklch(45.4% 0.169 14.4);
Tailwind
colors: {
  custom: {
    50: '#c2656e',
    500: '#9e1538',
    950: '#000000',
  },
}
SCSS
$custom: #9e1538;
$custom-light: #c2656e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1538",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 56
  },
  "hsl": {
    "h": 344.672,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45401,
    "c": 0.16857,
    "h": 14.4
  },
  "luminance": 0.08091
}

Semantic roles & 50–950 ramp

primary
#9E1538
secondary
#47C7A7
accent
#F3C235
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140607
muted
#827A7A

Preview Lab

Preview with #9E1538

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

Preview Lab → · Contrast checker → · Palette generator →

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