#9E1A3F#9E1A3F

#9E1A3F is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.166 H 11.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#9E1A3F
RGBrgb(158, 26, 63)
HSLhsl(343, 72%, 36%)
HSVhsv(343, 84%, 62%)
CMYKcmyk(0%, 83.5%, 60.1%, 38%)
CIE-LABlab(34.74, 53.69, 13.52)
CIE-LCHlch(34.74, 55.37, 14.13°)
OKLaboklab(45.87% 0.1623 0.0335)
OKLCHoklch(45.87% 0.166 11.7)
XYZxyz(15.3687, 8.3691, 5.5078)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A3F #1A9E79
analogous
#9E1A81 #9E1A3F #9E371A
triadic
#9E1A3F #3F9E1A #1A3F9E
tetradic
#9E1A3F #819E1A #1A9E79 #371A9E
square
#9E1A3F #819E1A #1A9E79 #371A9E
split-complementary
#9E1A3F #1A9E37 #1A819E
monochromatic
#350915 #69112A #9E1A3F #D32354 #E25079

Accessibility & contrast

On white

7.86
#9E1A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1A3F
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A3F#FFFFFF#000000##FFFFFF
##9E1A3F1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41413F
Deuteranopia (green-blind)
#625B3C
Tritanopia (blue-blind)
#AD002B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1a3f;
/* rgb */ color: rgb(158, 26, 63);
/* oklch */ color: oklch(45.9% 0.166 11.7);
Tailwind
colors: {
  custom: {
    50: '#c26773',
    500: '#9e1a3f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a3f;
$custom-light: #c26773;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a3f",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 63
  },
  "hsl": {
    "h": 343.182,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45865,
    "c": 0.16571,
    "h": 11.7
  },
  "luminance": 0.08367
}

Semantic roles & 50–950 ramp

primary
#9E1A3F
secondary
#4FC5A4
accent
#EEBC39
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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