#9E2D7B#9E2D7B

#9E2D7B is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.170 H 342.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9E2D7B
RGBrgb(158, 45, 123)
HSLhsl(319, 56%, 40%)
HSVhsv(319, 72%, 62%)
CMYKcmyk(0%, 71.5%, 22.2%, 38%)
CIE-LABlab(38.86, 53.90, -18.72)
CIE-LCHlch(38.86, 57.06, 340.85°)
OKLaboklab(49.53% 0.162 -0.0501)
OKLCHoklch(49.53% 0.17 342.8)
XYZxyz(18.6147, 10.5778, 19.7964)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2D7B #2D9E50
analogous
#892D9E #9E2D7B #9E2D43
triadic
#9E2D7B #7B9E2D #2D7B9E
tetradic
#9E2D7B #9E892D #2D9E50 #2D439E
square
#9E2D7B #9E892D #2D9E50 #2D439E
split-complementary
#9E2D7B #439E2D #2D9E89
monochromatic
#3F1231 #6E1F56 #9E2D7B #C9409E #D66FB6

Accessibility & contrast

On white

6.74
#9E2D7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9E2D7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2D7B
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2D7B#FFFFFF#000000##FFFFFF
##9E2D7B1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507D
Deuteranopia (green-blind)
#5A6278
Tritanopia (blue-blind)
#A82E50
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2d7b;
/* rgb */ color: rgb(158, 45, 123);
/* oklch */ color: oklch(49.5% 0.170 342.8);
Tailwind
colors: {
  custom: {
    50: '#be70a1',
    500: '#9e2d7b',
    950: '#000000',
  },
}
SCSS
$custom: #9e2d7b;
$custom-light: #be70a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2d7b",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 318.584,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49533,
    "c": 0.16953,
    "h": 342.8
  },
  "luminance": 0.10576
}

Semantic roles & 50–950 ramp

primary
#9E2D7B
secondary
#69BD83
accent
#DF7749
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #9E2D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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