#9E1F4E#9E1F4E

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

Color values

HEX#9E1F4E
RGBrgb(158, 31, 78)
HSLhsl(338, 67%, 37%)
HSVhsv(338, 80%, 62%)
CMYKcmyk(0%, 80.4%, 50.6%, 38%)
CIE-LABlab(35.60, 53.48, 4.97)
CIE-LCHlch(35.60, 53.71, 5.31°)
OKLaboklab(46.62% 0.1637 0.0132)
OKLCHoklch(46.62% 0.164 4.6)
XYZxyz(15.9671, 8.8014, 8.0643)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F4E #1F9E6F
analogous
#9E1F8E #9E1F4E #9E2F1F
triadic
#9E1F4E #4E9E1F #1F4E9E
tetradic
#9E1F4E #8E9E1F #1F9E6F #2F1F9E
square
#9E1F4E #8E9E1F #1F9E6F #2F1F9E
split-complementary
#9E1F4E #1F9E2F #1F8E9E
monochromatic
#380B1B #6B1535 #9E1F4E #D12967 #DE598A

Accessibility & contrast

On white

7.61
#9E1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1F4E
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F4E#FFFFFF#000000##FFFFFF
##9E1F4E1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444F
Deuteranopia (green-blind)
#615D4B
Tritanopia (blue-blind)
#AC0034
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e1f4e;
/* rgb */ color: rgb(158, 31, 78);
/* oklch */ color: oklch(46.6% 0.164 4.6);
Tailwind
colors: {
  custom: {
    50: '#c1697f',
    500: '#9e1f4e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f4e;
$custom-light: #c1697f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f4e",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 337.795,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4662,
    "c": 0.16424,
    "h": 4.6
  },
  "luminance": 0.08799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E1F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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