#9E1F6F#9E1F6F

#9E1F6F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.178 H 347.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9E1F6F
RGBrgb(158, 31, 111)
HSLhsl(322, 67%, 37%)
HSVhsv(322, 80%, 62%)
CMYKcmyk(0%, 80.4%, 29.7%, 38%)
CIE-LABlab(36.74, 56.90, -14.45)
CIE-LCHlch(36.74, 58.71, 345.75°)
OKLaboklab(47.83% 0.1736 -0.0381)
OKLCHoklch(47.83% 0.178 347.6)
XYZxyz(17.4607, 9.3988, 15.9305)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F6F #1F9E4E
analogous
#8E1F9E #9E1F6F #9E1F2F
triadic
#9E1F6F #6F9E1F #1F6F9E
tetradic
#9E1F6F #9E8E1F #1F9E4E #1F2F9E
square
#9E1F6F #9E8E1F #1F9E4E #1F2F9E
split-complementary
#9E1F6F #2F9E1F #1F9E8E
monochromatic
#380B27 #6B154B #9E1F6F #D12993 #DE59AD

Accessibility & contrast

On white

7.29
#9E1F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9E1F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F6F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F6F#FFFFFF#000000##FFFFFF
##9E1F6F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344871
Deuteranopia (green-blind)
#5A5E6C
Tritanopia (blue-blind)
#AA1845
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e1f6f;
/* rgb */ color: rgb(158, 31, 111);
/* oklch */ color: oklch(47.8% 0.178 347.6);
Tailwind
colors: {
  custom: {
    50: '#bf6a98',
    500: '#9e1f6f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f6f;
$custom-light: #bf6a98;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f6f",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 111
  },
  "hsl": {
    "h": 322.205,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47827,
    "c": 0.17778,
    "h": 347.6
  },
  "luminance": 0.09397
}

Semantic roles & 50–950 ramp

primary
#9E1F6F
secondary
#56C27E
accent
#EA7E3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E1F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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