#9E1F45#9E1F45

#9E1F45 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.162 H 9.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9E1F45
RGBrgb(158, 31, 69)
HSLhsl(342, 67%, 37%)
HSVhsv(342, 80%, 62%)
CMYKcmyk(0%, 80.4%, 56.3%, 38%)
CIE-LABlab(35.36, 52.75, 10.47)
CIE-LCHlch(35.36, 53.78, 11.23°)
OKLaboklab(46.37% 0.1603 0.0265)
OKLCHoklch(46.37% 0.162 9.4)
XYZxyz(15.6662, 8.6810, 6.4797)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F45 #1F9E78
analogous
#9E1F85 #9E1F45 #9E381F
triadic
#9E1F45 #459E1F #1F459E
tetradic
#9E1F45 #859E1F #1F9E78 #381F9E
square
#9E1F45 #859E1F #1F9E78 #381F9E
split-complementary
#9E1F45 #1F9E38 #1F859E
monochromatic
#380B18 #6B152F #9E1F45 #D1295B #DE5981

Accessibility & contrast

On white

7.68
#9E1F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9E1F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F45
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F45#FFFFFF#000000##FFFFFF
##9E1F451.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424346
Deuteranopia (green-blind)
#635C42
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1f45;
/* rgb */ color: rgb(158, 31, 69);
/* oklch */ color: oklch(46.4% 0.162 9.4);
Tailwind
colors: {
  custom: {
    50: '#c16878',
    500: '#9e1f45',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f45;
$custom-light: #c16878;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f45",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 342.047,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46369,
    "c": 0.16243,
    "h": 9.4
  },
  "luminance": 0.08679
}

Semantic roles & 50–950 ramp

primary
#9E1F45
secondary
#56C2A2
accent
#EAB73E
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1F45

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

Preview Lab → · Contrast checker → · Palette generator →

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