#9E2048#9E2048

#9E2048 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.162 H 8.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9E2048
RGBrgb(158, 32, 72)
HSLhsl(341, 66%, 37%)
HSVhsv(341, 80%, 62%)
CMYKcmyk(0%, 79.7%, 54.4%, 38%)
CIE-LABlab(35.54, 52.69, 8.78)
CIE-LCHlch(35.54, 53.42, 9.46°)
OKLaboklab(46.53% 0.1605 0.0225)
OKLCHoklch(46.53% 0.162 8)
XYZxyz(15.7883, 8.7723, 6.9915)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2048 #209E76
analogous
#9E2087 #9E2048 #9E3720
triadic
#9E2048 #489E20 #20489E
tetradic
#9E2048 #879E20 #209E76 #37209E
square
#9E2048 #879E20 #209E76 #37209E
split-complementary
#9E2048 #209E37 #20879E
monochromatic
#380B1A #6B1631 #9E2048 #D12A5F #DE5B84

Accessibility & contrast

On white

7.63
#9E2048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9E2048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2048
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2048#FFFFFF#000000##FFFFFF
##9E20481.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424349
Deuteranopia (green-blind)
#625D45
Tritanopia (blue-blind)
#AD0031
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e2048;
/* rgb */ color: rgb(158, 32, 72);
/* oklch */ color: oklch(46.5% 0.162 8.0);
Tailwind
colors: {
  custom: {
    50: '#c1697a',
    500: '#9e2048',
    950: '#000000',
  },
}
SCSS
$custom: #9e2048;
$custom-light: #c1697a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2048",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 340.952,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46526,
    "c": 0.16205,
    "h": 8
  },
  "luminance": 0.0877
}

Semantic roles & 50–950 ramp

primary
#9E2048
secondary
#58C2A0
accent
#E9B33F
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E2048

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

Preview Lab → · Contrast checker → · Palette generator →

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