#9E1F46#9E1F46

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

Color values

HEX#9E1F46
RGBrgb(158, 31, 70)
HSLhsl(342, 67%, 37%)
HSVhsv(342, 80%, 62%)
CMYKcmyk(0%, 80.4%, 55.7%, 38%)
CIE-LABlab(35.39, 52.83, 9.86)
CIE-LCHlch(35.39, 53.74, 10.57°)
OKLaboklab(46.4% 0.1606 0.025)
OKLCHoklch(46.4% 0.163 8.9)
XYZxyz(15.6975, 8.6935, 6.6446)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F46 #1F9E77
analogous
#9E1F86 #9E1F46 #9E381F
triadic
#9E1F46 #469E1F #1F469E
tetradic
#9E1F46 #869E1F #1F9E77 #381F9E
square
#9E1F46 #869E1F #1F9E77 #381F9E
split-complementary
#9E1F46 #1F9E38 #1F869E
monochromatic
#380B19 #6B152F #9E1F46 #D1295D #DE5982

Accessibility & contrast

On white

7.67
#9E1F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1F46
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F46#FFFFFF#000000##FFFFFF
##9E1F461.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424347
Deuteranopia (green-blind)
#625C43
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1f46;
/* rgb */ color: rgb(158, 31, 70);
/* oklch */ color: oklch(46.4% 0.163 8.9);
Tailwind
colors: {
  custom: {
    50: '#c16879',
    500: '#9e1f46',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f46;
$custom-light: #c16879;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f46",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 70
  },
  "hsl": {
    "h": 341.575,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46395,
    "c": 0.16259,
    "h": 8.9
  },
  "luminance": 0.08691
}

Semantic roles & 50–950 ramp

primary
#9E1F46
secondary
#56C2A1
accent
#EAB53E
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9E1F46

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

Preview Lab → · Contrast checker → · Palette generator →

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