#9E1F3F#9E1F3F

#9E1F3F is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.162 H 12.5°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#9E1F3F
RGBrgb(158, 31, 63)
HSLhsl(345, 67%, 37%)
HSVhsv(345, 80%, 62%)
CMYKcmyk(0%, 80.4%, 60.1%, 38%)
CIE-LABlab(35.22, 52.32, 14.17)
CIE-LCHlch(35.22, 54.20, 15.15°)
OKLaboklab(46.22% 0.1579 0.035)
OKLCHoklch(46.22% 0.162 12.5)
XYZxyz(15.4893, 8.6103, 5.5480)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F3F #1F9E7E
analogous
#9E1F7F #9E1F3F #9E3F1F
triadic
#9E1F3F #3F9E1F #1F3F9E
tetradic
#9E1F3F #7F9E1F #1F9E7E #3F1F9E
square
#9E1F3F #7F9E1F #1F9E7E #3F1F9E
split-complementary
#9E1F3F #1F9E3F #1F7F9E
monochromatic
#380B16 #6B152B #9E1F3F #D12953 #DE597B

Accessibility & contrast

On white

7.72
#9E1F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9E1F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F3F
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F3F#FFFFFF#000000##FFFFFF
##9E1F3F1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43423F
Deuteranopia (green-blind)
#635C3C
Tritanopia (blue-blind)
#AD002D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1f3f;
/* rgb */ color: rgb(158, 31, 63);
/* oklch */ color: oklch(46.2% 0.162 12.5);
Tailwind
colors: {
  custom: {
    50: '#c16873',
    500: '#9e1f3f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f3f;
$custom-light: #c16873;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f3f",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 63
  },
  "hsl": {
    "h": 344.882,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46221,
    "c": 0.16169,
    "h": 12.5
  },
  "luminance": 0.08608
}

Semantic roles & 50–950 ramp

primary
#9E1F3F
secondary
#56C2A7
accent
#EABF3E
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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