#9E1946#9E1946

#9E1946 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.167 H 7.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9E1946
RGBrgb(158, 25, 70)
HSLhsl(340, 73%, 36%)
HSVhsv(340, 84%, 62%)
CMYKcmyk(0%, 84.2%, 55.7%, 38%)
CIE-LABlab(34.82, 54.44, 9.07)
CIE-LCHlch(34.82, 55.19, 9.46°)
OKLaboklab(45.98% 0.1659 0.0231)
OKLCHoklch(45.98% 0.167 7.9)
XYZxyz(15.5552, 8.4089, 6.5972)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1946 #199E71
analogous
#9E1988 #9E1946 #9E2E19
triadic
#9E1946 #469E19 #19469E
tetradic
#9E1946 #889E19 #199E71 #2E199E
square
#9E1946 #889E19 #199E71 #2E199E
split-complementary
#9E1946 #199E2E #19889E
monochromatic
#340817 #69112F #9E1946 #D3215D #E34E81

Accessibility & contrast

On white

7.83
#9E1946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9E1946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1946
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1946#FFFFFF#000000##FFFFFF
##9E19461.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4147
Deuteranopia (green-blind)
#615B43
Tritanopia (blue-blind)
#AD002E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1946;
/* rgb */ color: rgb(158, 25, 70);
/* oklch */ color: oklch(46.0% 0.167 7.9);
Tailwind
colors: {
  custom: {
    50: '#c16679',
    500: '#9e1946',
    950: '#000000',
  },
}
SCSS
$custom: #9e1946;
$custom-light: #c16679;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1946",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 70
  },
  "hsl": {
    "h": 339.699,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45978,
    "c": 0.16747,
    "h": 7.9
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#9E1946
secondary
#4EC59D
accent
#EFB138
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9E1946

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

Preview Lab → · Contrast checker → · Palette generator →

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