#9E2F5D#9E2F5D

#9E2F5D is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.5% C 0.151 H 359.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9E2F5D
RGBrgb(158, 47, 93)
HSLhsl(335, 54%, 40%)
HSVhsv(335, 70%, 62%)
CMYKcmyk(0%, 70.3%, 41.1%, 38%)
CIE-LABlab(38.01, 49.42, -1.15)
CIE-LCHlch(38.01, 49.44, 358.67°)
OKLaboklab(48.54% 0.1514 -0.0024)
OKLCHoklch(48.54% 0.151 359.1)
XYZxyz(17.0940, 10.0945, 11.4021)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F5D #2F9E70
analogous
#9E2F94 #9E2F5D #9E382F
triadic
#9E2F5D #5D9E2F #2F5D9E
tetradic
#9E2F5D #949E2F #2F9E70 #382F9E
square
#9E2F5D #949E2F #2F9E70 #382F9E
split-complementary
#9E2F5D #2F9E38 #2F949E
monochromatic
#401325 #6F2141 #9E2F5D #C7437A #D5729B

Accessibility & contrast

On white

6.96
#9E2F5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9E2F5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2F5D
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F5D#FFFFFF#000000##FFFFFF
##9E2F5D1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454C5E
Deuteranopia (green-blind)
#63615A
Tritanopia (blue-blind)
#AB2242
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2f5d;
/* rgb */ color: rgb(158, 47, 93);
/* oklch */ color: oklch(48.5% 0.151 359.1);
Tailwind
colors: {
  custom: {
    50: '#bf708a',
    500: '#9e2f5d',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f5d;
$custom-light: #bf708a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f5d",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 335.135,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48543,
    "c": 0.15146,
    "h": 359.1
  },
  "luminance": 0.10092
}

Semantic roles & 50–950 ramp

primary
#9E2F5D
secondary
#6CBD9B
accent
#DEA04A
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9E2F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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