#9E2E7B#9E2E7B

#9E2E7B is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.168 H 342.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9E2E7B
RGBrgb(158, 46, 123)
HSLhsl(319, 55%, 40%)
HSVhsv(319, 71%, 62%)
CMYKcmyk(0%, 70.9%, 22.2%, 38%)
CIE-LABlab(38.99, 53.52, -18.51)
CIE-LCHlch(38.99, 56.64, 340.92°)
OKLaboklab(49.63% 0.1608 -0.0495)
OKLCHoklch(49.63% 0.168 342.9)
XYZxyz(18.6533, 10.6550, 19.8093)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E7B #2E9E51
analogous
#892E9E #9E2E7B #9E2E43
triadic
#9E2E7B #7B9E2E #2E7B9E
tetradic
#9E2E7B #9E892E #2E9E51 #2E439E
square
#9E2E7B #9E892E #2E9E51 #2E439E
split-complementary
#9E2E7B #439E2E #2E9E89
monochromatic
#3F1231 #6F2056 #9E2E7B #C8419E #D671B6

Accessibility & contrast

On white

6.71
#9E2E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9E2E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2E7B
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E7B#FFFFFF#000000##FFFFFF
##9E2E7B1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507D
Deuteranopia (green-blind)
#5B6378
Tritanopia (blue-blind)
#A82E50
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2e7b;
/* rgb */ color: rgb(158, 46, 123);
/* oklch */ color: oklch(49.6% 0.168 342.9);
Tailwind
colors: {
  custom: {
    50: '#be70a1',
    500: '#9e2e7b',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e7b;
$custom-light: #be70a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e7b",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 318.75,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.4963,
    "c": 0.16827,
    "h": 342.9
  },
  "luminance": 0.10653
}

Semantic roles & 50–950 ramp

primary
#9E2E7B
secondary
#6BBD84
accent
#DE784A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #9E2E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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