#9E2F6B#9E2F6B

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

Color values

HEX#9E2F6B
RGBrgb(158, 47, 107)
HSLhsl(328, 54%, 40%)
HSVhsv(328, 70%, 62%)
CMYKcmyk(0%, 70.3%, 32.3%, 38%)
CIE-LABlab(38.49, 51.04, -9.28)
CIE-LCHlch(38.49, 51.88, 349.70°)
OKLaboklab(49.05% 0.1558 -0.024)
OKLCHoklch(49.05% 0.158 351.2)
XYZxyz(17.7718, 10.3657, 14.9719)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F6B #2F9E62
analogous
#9A2F9E #9E2F6B #9E2F33
triadic
#9E2F6B #6B9E2F #2F6B9E
tetradic
#9E2F6B #9E9A2F #2F9E62 #2F339E
square
#9E2F6B #9E9A2F #2F9E62 #2F339E
split-complementary
#9E2F6B #339E2F #2F9E9A
monochromatic
#40132B #6F214B #9E2F6B #C7438A #D572A8

Accessibility & contrast

On white

6.83
#9E2F6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9E2F6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2F6B
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F6B#FFFFFF#000000##FFFFFF
##9E2F6B1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404E6D
Deuteranopia (green-blind)
#606268
Tritanopia (blue-blind)
#AA2849
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2f6b;
/* rgb */ color: rgb(158, 47, 107);
/* oklch */ color: oklch(49.1% 0.158 351.2);
Tailwind
colors: {
  custom: {
    50: '#bf7095',
    500: '#9e2f6b',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f6b;
$custom-light: #bf7095;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f6b",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 327.568,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49053,
    "c": 0.15766,
    "h": 351.2
  },
  "luminance": 0.10364
}

Semantic roles & 50–950 ramp

primary
#9E2F6B
secondary
#6CBD91
accent
#DE8E4A
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9E2F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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