#9E2F5E#9E2F5E

#9E2F5E is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.152 H 358.5°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9E2F5E
RGBrgb(158, 47, 94)
HSLhsl(335, 54%, 40%)
HSVhsv(335, 70%, 62%)
CMYKcmyk(0%, 70.3%, 40.5%, 38%)
CIE-LABlab(38.04, 49.53, -1.73)
CIE-LCHlch(38.04, 49.56, 358.00°)
OKLaboklab(48.58% 0.1518 -0.0039)
OKLCHoklch(48.58% 0.152 358.5)
XYZxyz(17.1386, 10.1124, 11.6369)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F5E #2F9E6F
analogous
#9E2F95 #9E2F5E #9E382F
triadic
#9E2F5E #5E9E2F #2F5E9E
tetradic
#9E2F5E #959E2F #2F9E6F #382F9E
square
#9E2F5E #959E2F #2F9E6F #382F9E
split-complementary
#9E2F5E #2F9E38 #2F959E
monochromatic
#401326 #6F2142 #9E2F5E #C7437B #D5729C

Accessibility & contrast

On white

6.95
#9E2F5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2F5E
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F5E#FFFFFF#000000##FFFFFF
##9E2F5E1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454C5F
Deuteranopia (green-blind)
#63615B
Tritanopia (blue-blind)
#AB2242
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2f5e;
/* rgb */ color: rgb(158, 47, 94);
/* oklch */ color: oklch(48.6% 0.152 358.5);
Tailwind
colors: {
  custom: {
    50: '#bf708b',
    500: '#9e2f5e',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f5e;
$custom-light: #bf708b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f5e",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 334.595,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48577,
    "c": 0.15183,
    "h": 358.5
  },
  "luminance": 0.1011
}

Semantic roles & 50–950 ramp

primary
#9E2F5E
secondary
#6CBD9B
accent
#DE9F4A
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9E2F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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