#9E2148#9E2148

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

Color values

HEX#9E2148
RGBrgb(158, 33, 72)
HSLhsl(341, 65%, 37%)
HSVhsv(341, 79%, 62%)
CMYKcmyk(0%, 79.1%, 54.4%, 38%)
CIE-LABlab(35.65, 52.39, 8.93)
CIE-LCHlch(35.65, 53.14, 9.67°)
OKLaboklab(46.61% 0.1595 0.0228)
OKLCHoklch(46.61% 0.161 8.1)
XYZxyz(15.8156, 8.8270, 7.0006)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2148 #219E77
analogous
#9E2187 #9E2148 #9E3921
triadic
#9E2148 #489E21 #21489E
tetradic
#9E2148 #879E21 #219E77 #39219E
square
#9E2148 #879E21 #219E77 #39219E
split-complementary
#9E2148 #219E39 #21879E
monochromatic
#390C1A #6B1631 #9E2148 #D12C5F #DD5C85

Accessibility & contrast

On white

7.59
#9E2148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2148
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2148#FFFFFF#000000##FFFFFF
##9E21481.007.592.767.59
#FFFFFF7.591.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424449
Deuteranopia (green-blind)
#635D45
Tritanopia (blue-blind)
#AD0032
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e2148;
/* rgb */ color: rgb(158, 33, 72);
/* oklch */ color: oklch(46.6% 0.161 8.1);
Tailwind
colors: {
  custom: {
    50: '#c1697a',
    500: '#9e2148',
    950: '#000000',
  },
}
SCSS
$custom: #9e2148;
$custom-light: #c1697a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2148",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 341.28,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46605,
    "c": 0.16113,
    "h": 8.1
  },
  "luminance": 0.08825
}

Semantic roles & 50–950 ramp

primary
#9E2148
secondary
#59C1A1
accent
#E8B43F
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E2148

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

Preview Lab → · Contrast checker → · Palette generator →

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