#9E1940#9E1940

#9E1940 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.167 H 11.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#9E1940
RGBrgb(158, 25, 64)
HSLhsl(342, 73%, 36%)
HSVhsv(342, 84%, 62%)
CMYKcmyk(0%, 84.2%, 59.5%, 38%)
CIE-LABlab(34.67, 54.01, 12.78)
CIE-LCHlch(34.67, 55.50, 13.31°)
OKLaboklab(45.82% 0.1635 0.0318)
OKLCHoklch(45.82% 0.167 11)
XYZxyz(15.3752, 8.3368, 5.6491)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1940 #199E77
analogous
#9E1982 #9E1940 #9E3419
triadic
#9E1940 #409E19 #19409E
tetradic
#9E1940 #829E19 #199E77 #34199E
square
#9E1940 #829E19 #199E77 #34199E
split-complementary
#9E1940 #199E34 #19829E
monochromatic
#340815 #69112B #9E1940 #D32155 #E34E7A

Accessibility & contrast

On white

7.87
#9E1940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9E1940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1940
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1940#FFFFFF#000000##FFFFFF
##9E19401.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404041
Deuteranopia (green-blind)
#625B3D
Tritanopia (blue-blind)
#AD002B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1940;
/* rgb */ color: rgb(158, 25, 64);
/* oklch */ color: oklch(45.8% 0.167 11.0);
Tailwind
colors: {
  custom: {
    50: '#c26674',
    500: '#9e1940',
    950: '#000000',
  },
}
SCSS
$custom: #9e1940;
$custom-light: #c26674;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1940",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 342.406,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45824,
    "c": 0.16656,
    "h": 11
  },
  "luminance": 0.08335
}

Semantic roles & 50–950 ramp

primary
#9E1940
secondary
#4EC5A2
accent
#EFBA38
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1940

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

Preview Lab → · Contrast checker → · Palette generator →

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