#9E1F4B#9E1F4B

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

Color values

HEX#9E1F4B
RGBrgb(158, 31, 75)
HSLhsl(339, 67%, 37%)
HSVhsv(339, 80%, 62%)
CMYKcmyk(0%, 80.4%, 52.5%, 38%)
CIE-LABlab(35.52, 53.23, 6.80)
CIE-LCHlch(35.52, 53.66, 7.28°)
OKLaboklab(46.53% 0.1626 0.0177)
OKLCHoklch(46.53% 0.164 6.2)
XYZxyz(15.8620, 8.7593, 7.5107)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F4B #1F9E72
analogous
#9E1F8A #9E1F4B #9E331F
triadic
#9E1F4B #4B9E1F #1F4B9E
tetradic
#9E1F4B #8A9E1F #1F9E72 #331F9E
square
#9E1F4B #8A9E1F #1F9E72 #331F9E
split-complementary
#9E1F4B #1F9E33 #1F8A9E
monochromatic
#380B1A #6B1533 #9E1F4B #D12963 #DE5987

Accessibility & contrast

On white

7.63
#9E1F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9E1F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F4B
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F4B#FFFFFF#000000##FFFFFF
##9E1F4B1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41434C
Deuteranopia (green-blind)
#625D48
Tritanopia (blue-blind)
#AD0032
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1f4b;
/* rgb */ color: rgb(158, 31, 75);
/* oklch */ color: oklch(46.5% 0.164 6.2);
Tailwind
colors: {
  custom: {
    50: '#c1697d',
    500: '#9e1f4b',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f4b;
$custom-light: #c1697d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f4b",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 339.213,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46533,
    "c": 0.16354,
    "h": 6.2
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#9E1F4B
secondary
#56C29D
accent
#EAAE3E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E1F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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