#9E1F48#9E1F48

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

Color values

HEX#9E1F48
RGBrgb(158, 31, 72)
HSLhsl(341, 67%, 37%)
HSVhsv(341, 80%, 62%)
CMYKcmyk(0%, 80.4%, 54.4%, 38%)
CIE-LABlab(35.44, 52.98, 8.63)
CIE-LCHlch(35.44, 53.68, 9.25°)
OKLaboklab(46.45% 0.1614 0.0221)
OKLCHoklch(46.45% 0.163 7.8)
XYZxyz(15.7617, 8.7192, 6.9827)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F48 #1F9E75
analogous
#9E1F88 #9E1F48 #9E361F
triadic
#9E1F48 #489E1F #1F489E
tetradic
#9E1F48 #889E1F #1F9E75 #361F9E
square
#9E1F48 #889E1F #1F9E75 #361F9E
split-complementary
#9E1F48 #1F9E36 #1F889E
monochromatic
#380B19 #6B1531 #9E1F48 #D1295F #DE5984

Accessibility & contrast

On white

7.65
#9E1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1F48
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F48#FFFFFF#000000##FFFFFF
##9E1F481.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414349
Deuteranopia (green-blind)
#625C45
Tritanopia (blue-blind)
#AD0031
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1f48;
/* rgb */ color: rgb(158, 31, 72);
/* oklch */ color: oklch(46.4% 0.163 7.8);
Tailwind
colors: {
  custom: {
    50: '#c1697a',
    500: '#9e1f48',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f48;
$custom-light: #c1697a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f48",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 340.63,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46449,
    "c": 0.16294,
    "h": 7.8
  },
  "luminance": 0.08717
}

Semantic roles & 50–950 ramp

primary
#9E1F48
secondary
#56C2A0
accent
#EAB23E
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E1F48

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

Preview Lab → · Contrast checker → · Palette generator →

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