#9E2F6A#9E2F6A

#9E2F6A is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.157 H 351.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9E2F6A
RGBrgb(158, 47, 106)
HSLhsl(328, 54%, 40%)
HSVhsv(328, 70%, 62%)
CMYKcmyk(0%, 70.3%, 32.9%, 38%)
CIE-LABlab(38.45, 50.92, -8.71)
CIE-LCHlch(38.45, 51.66, 350.30°)
OKLaboklab(49.01% 0.1555 -0.0225)
OKLCHoklch(49.01% 0.157 351.8)
XYZxyz(17.7195, 10.3447, 14.6965)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F6A #2F9E63
analogous
#9A2F9E #9E2F6A #9E2F33
triadic
#9E2F6A #6A9E2F #2F6A9E
tetradic
#9E2F6A #9E9A2F #2F9E63 #2F339E
square
#9E2F6A #9E9A2F #2F9E63 #2F339E
split-complementary
#9E2F6A #339E2F #2F9E9A
monochromatic
#40132B #6F214A #9E2F6A #C74389 #D572A7

Accessibility & contrast

On white

6.84
#9E2F6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2F6A
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F6A#FFFFFF#000000##FFFFFF
##9E2F6A1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414E6C
Deuteranopia (green-blind)
#606267
Tritanopia (blue-blind)
#AA2848
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2f6a;
/* rgb */ color: rgb(158, 47, 106);
/* oklch */ color: oklch(49.0% 0.157 351.8);
Tailwind
colors: {
  custom: {
    50: '#bf7094',
    500: '#9e2f6a',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f6a;
$custom-light: #bf7094;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f6a",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 328.108,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49014,
    "c": 0.15715,
    "h": 351.8
  },
  "luminance": 0.10343
}

Semantic roles & 50–950 ramp

primary
#9E2F6A
secondary
#6CBD92
accent
#DE8F4A
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9E2F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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