#9E1F40#9E1F40

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

Color values

HEX#9E1F40
RGBrgb(158, 31, 64)
HSLhsl(344, 67%, 37%)
HSVhsv(344, 80%, 62%)
CMYKcmyk(0%, 80.4%, 59.5%, 38%)
CIE-LABlab(35.25, 52.39, 13.55)
CIE-LCHlch(35.25, 54.11, 14.50°)
OKLaboklab(46.24% 0.1583 0.0336)
OKLCHoklch(46.24% 0.162 12)
XYZxyz(15.5175, 8.6215, 5.6965)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F40 #1F9E7D
analogous
#9E1F80 #9E1F40 #9E3D1F
triadic
#9E1F40 #409E1F #1F409E
tetradic
#9E1F40 #809E1F #1F9E7D #3D1F9E
square
#9E1F40 #809E1F #1F9E7D #3D1F9E
split-complementary
#9E1F40 #1F9E3D #1F809E
monochromatic
#380B17 #6B152B #9E1F40 #D12955 #DE597C

Accessibility & contrast

On white

7.71
#9E1F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1F40
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F40#FFFFFF#000000##FFFFFF
##9E1F401.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434240
Deuteranopia (green-blind)
#635C3D
Tritanopia (blue-blind)
#AD002D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1f40;
/* rgb */ color: rgb(158, 31, 64);
/* oklch */ color: oklch(46.2% 0.162 12.0);
Tailwind
colors: {
  custom: {
    50: '#c16874',
    500: '#9e1f40',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f40;
$custom-light: #c16874;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f40",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 344.409,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46244,
    "c": 0.1618,
    "h": 12
  },
  "luminance": 0.08619
}

Semantic roles & 50–950 ramp

primary
#9E1F40
secondary
#56C2A6
accent
#EABD3E
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1F40

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

Preview Lab → · Contrast checker → · Palette generator →

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