#9E2F5B#9E2F5B

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

Color values

HEX#9E2F5B
RGBrgb(158, 47, 91)
HSLhsl(336, 54%, 40%)
HSVhsv(336, 70%, 62%)
CMYKcmyk(0%, 70.3%, 42.4%, 38%)
CIE-LABlab(37.95, 49.21, 0.03)
CIE-LCHlch(37.95, 49.21, 0.04°)
OKLaboklab(48.48% 0.1508 0.0007)
OKLCHoklch(48.48% 0.151 0.3)
XYZxyz(17.0066, 10.0596, 10.9416)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F5B #2F9E72
analogous
#9E2F92 #9E2F5B #9E3A2F
triadic
#9E2F5B #5B9E2F #2F5B9E
tetradic
#9E2F5B #929E2F #2F9E72 #3A2F9E
square
#9E2F5B #929E2F #2F9E72 #3A2F9E
split-complementary
#9E2F5B #2F9E3A #2F929E
monochromatic
#401325 #6F2140 #9E2F5B #C74377 #D57299

Accessibility & contrast

On white

6.97
#9E2F5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9E2F5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2F5B
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F5B#FFFFFF#000000##FFFFFF
##9E2F5B1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5C
Deuteranopia (green-blind)
#646158
Tritanopia (blue-blind)
#AB2141
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2f5b;
/* rgb */ color: rgb(158, 47, 91);
/* oklch */ color: oklch(48.5% 0.151 0.3);
Tailwind
colors: {
  custom: {
    50: '#bf7089',
    500: '#9e2f5b',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f5b;
$custom-light: #bf7089;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f5b",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 91
  },
  "hsl": {
    "h": 336.216,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48477,
    "c": 0.15075,
    "h": 0.3
  },
  "luminance": 0.10057
}

Semantic roles & 50–950 ramp

primary
#9E2F5B
secondary
#6CBD9D
accent
#DEA34A
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9E2F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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