#9E2146#9E2146

#9E2146 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.161 H 9.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#9E2146
RGBrgb(158, 33, 70)
HSLhsl(342, 65%, 37%)
HSVhsv(342, 79%, 62%)
CMYKcmyk(0%, 79.1%, 55.7%, 38%)
CIE-LABlab(35.60, 52.23, 10.15)
CIE-LCHlch(35.60, 53.21, 11.00°)
OKLaboklab(46.55% 0.1587 0.0258)
OKLCHoklch(46.55% 0.161 9.2)
XYZxyz(15.7514, 8.8013, 6.6626)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2146 #219E79
analogous
#9E2185 #9E2146 #9E3B21
triadic
#9E2146 #469E21 #21469E
tetradic
#9E2146 #859E21 #219E79 #3B219E
square
#9E2146 #859E21 #219E79 #3B219E
split-complementary
#9E2146 #219E3B #21859E
monochromatic
#390C19 #6B1630 #9E2146 #D12C5C #DD5C82

Accessibility & contrast

On white

7.61
#9E2146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9E2146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2146
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2146#FFFFFF#000000##FFFFFF
##9E21461.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434447
Deuteranopia (green-blind)
#635D43
Tritanopia (blue-blind)
#AD0031
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e2146;
/* rgb */ color: rgb(158, 33, 70);
/* oklch */ color: oklch(46.6% 0.161 9.2);
Tailwind
colors: {
  custom: {
    50: '#c16979',
    500: '#9e2146',
    950: '#000000',
  },
}
SCSS
$custom: #9e2146;
$custom-light: #c16979;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2146",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 342.24,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46551,
    "c": 0.16079,
    "h": 9.2
  },
  "luminance": 0.08799
}

Semantic roles & 50–950 ramp

primary
#9E2146
secondary
#59C1A3
accent
#E8B63F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E2146

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

Preview Lab → · Contrast checker → · Palette generator →

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