#9E1F47#9E1F47

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

Color values

HEX#9E1F47
RGBrgb(158, 31, 71)
HSLhsl(341, 67%, 37%)
HSVhsv(341, 80%, 62%)
CMYKcmyk(0%, 80.4%, 55.1%, 38%)
CIE-LABlab(35.41, 52.91, 9.24)
CIE-LCHlch(35.41, 53.71, 9.91°)
OKLaboklab(46.42% 0.161 0.0236)
OKLCHoklch(46.42% 0.163 8.3)
XYZxyz(15.7294, 8.7063, 6.8122)
Luminance0.0870 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F47 #1F9E76
analogous
#9E1F87 #9E1F47 #9E361F
triadic
#9E1F47 #479E1F #1F479E
tetradic
#9E1F47 #879E1F #1F9E76 #361F9E
square
#9E1F47 #879E1F #1F9E76 #361F9E
split-complementary
#9E1F47 #1F9E36 #1F879E
monochromatic
#380B19 #6B1530 #9E1F47 #D1295E #DE5983

Accessibility & contrast

On white

7.66
#9E1F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1F47
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F47#FFFFFF#000000##FFFFFF
##9E1F471.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1f47;
/* rgb */ color: rgb(158, 31, 71);
/* oklch */ color: oklch(46.4% 0.163 8.3);
Tailwind
colors: {
  custom: {
    50: '#c16979',
    500: '#9e1f47',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f47;
$custom-light: #c16979;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f47",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 71
  },
  "hsl": {
    "h": 341.102,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46422,
    "c": 0.16276,
    "h": 8.3
  },
  "luminance": 0.08704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E1F47

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

Preview Lab → · Contrast checker → · Palette generator →

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