#9E2F6D#9E2F6D

#9E2F6D is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.159 H 350.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9E2F6D
RGBrgb(158, 47, 109)
HSLhsl(326, 54%, 40%)
HSVhsv(326, 70%, 62%)
CMYKcmyk(0%, 70.3%, 31%, 38%)
CIE-LABlab(38.57, 51.29, -10.42)
CIE-LCHlch(38.57, 52.34, 348.51°)
OKLaboklab(49.13% 0.1564 -0.0272)
OKLCHoklch(49.13% 0.159 350.1)
XYZxyz(17.8783, 10.4082, 15.5325)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F6D #2F9E60
analogous
#972F9E #9E2F6D #9E2F36
triadic
#9E2F6D #6D9E2F #2F6D9E
tetradic
#9E2F6D #9E972F #2F9E60 #2F369E
square
#9E2F6D #9E972F #2F9E60 #2F369E
split-complementary
#9E2F6D #369E2F #2F9E97
monochromatic
#40132C #6F214C #9E2F6D #C7438D #D572A9

Accessibility & contrast

On white

6.82
#9E2F6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9E2F6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2F6D
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F6D#FFFFFF#000000##FFFFFF
##9E2F6D1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404E6F
Deuteranopia (green-blind)
#5F626A
Tritanopia (blue-blind)
#AA294A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2f6d;
/* rgb */ color: rgb(158, 47, 109);
/* oklch */ color: oklch(49.1% 0.159 350.1);
Tailwind
colors: {
  custom: {
    50: '#bf7096',
    500: '#9e2f6d',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f6d;
$custom-light: #bf7096;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f6d",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 326.486,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49132,
    "c": 0.1587,
    "h": 350.1
  },
  "luminance": 0.10406
}

Semantic roles & 50–950 ramp

primary
#9E2F6D
secondary
#6CBD90
accent
#DE8B4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9E2F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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