#9E1F4F#9E1F4F

#9E1F4F is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.164 H 4.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#9E1F4F
RGBrgb(158, 31, 79)
HSLhsl(337, 67%, 37%)
HSVhsv(337, 80%, 62%)
CMYKcmyk(0%, 80.4%, 50%, 38%)
CIE-LABlab(35.63, 53.56, 4.37)
CIE-LCHlch(35.63, 53.74, 4.66°)
OKLaboklab(46.65% 0.1641 0.0117)
OKLCHoklch(46.65% 0.164 4.1)
XYZxyz(16.0032, 8.8158, 8.2546)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F4F #1F9E6E
analogous
#9E1F8F #9E1F4F #9E2F1F
triadic
#9E1F4F #4F9E1F #1F4F9E
tetradic
#9E1F4F #8F9E1F #1F9E6E #2F1F9E
square
#9E1F4F #8F9E1F #1F9E6E #2F1F9E
split-complementary
#9E1F4F #1F9E2F #1F8F9E
monochromatic
#380B1C #6B1535 #9E1F4F #D12969 #DE598B

Accessibility & contrast

On white

7.60
#9E1F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9E1F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F4F
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F4F#FFFFFF#000000##FFFFFF
##9E1F4F1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4450
Deuteranopia (green-blind)
#615D4C
Tritanopia (blue-blind)
#AC0034
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e1f4f;
/* rgb */ color: rgb(158, 31, 79);
/* oklch */ color: oklch(46.7% 0.164 4.1);
Tailwind
colors: {
  custom: {
    50: '#c06980',
    500: '#9e1f4f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f4f;
$custom-light: #c06980;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f4f",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 337.323,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4665,
    "c": 0.16449,
    "h": 4.1
  },
  "luminance": 0.08814
}

Semantic roles & 50–950 ramp

primary
#9E1F4F
secondary
#56C29A
accent
#EAA93E
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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