#9E2F5A#9E2F5A

#9E2F5A is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.4% C 0.150 H 0.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9E2F5A
RGBrgb(158, 47, 90)
HSLhsl(337, 54%, 40%)
HSVhsv(337, 70%, 62%)
CMYKcmyk(0%, 70.3%, 43%, 38%)
CIE-LABlab(37.92, 49.11, 0.62)
CIE-LCHlch(37.92, 49.11, 0.73°)
OKLaboklab(48.44% 0.1504 0.0022)
OKLCHoklch(48.44% 0.15 0.8)
XYZxyz(16.9638, 10.0424, 10.7159)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F5A #2F9E73
analogous
#9E2F91 #9E2F5A #9E3C2F
triadic
#9E2F5A #5A9E2F #2F5A9E
tetradic
#9E2F5A #919E2F #2F9E73 #3C2F9E
square
#9E2F5A #919E2F #2F9E73 #3C2F9E
split-complementary
#9E2F5A #2F9E3C #2F919E
monochromatic
#401324 #6F213F #9E2F5A #C74376 #D57299

Accessibility & contrast

On white

6.98
#9E2F5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2F5A
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F5A#FFFFFF#000000##FFFFFF
##9E2F5A1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5B
Deuteranopia (green-blind)
#646157
Tritanopia (blue-blind)
#AB2041
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2f5a;
/* rgb */ color: rgb(158, 47, 90);
/* oklch */ color: oklch(48.4% 0.150 0.8);
Tailwind
colors: {
  custom: {
    50: '#bf7088',
    500: '#9e2f5a',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f5a;
$custom-light: #bf7088;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f5a",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 90
  },
  "hsl": {
    "h": 336.757,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48444,
    "c": 0.15041,
    "h": 0.8
  },
  "luminance": 0.1004
}

Semantic roles & 50–950 ramp

primary
#9E2F5A
secondary
#6CBD9E
accent
#DEA44A
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9E2F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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