#9E2A5F#9E2A5F

#9E2A5F is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.1% C 0.158 H 357.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9E2A5F
RGBrgb(158, 42, 95)
HSLhsl(333, 58%, 39%)
HSVhsv(333, 73%, 62%)
CMYKcmyk(0%, 73.4%, 39.9%, 38%)
CIE-LABlab(37.40, 51.53, -3.32)
CIE-LCHlch(37.40, 51.64, 356.31°)
OKLaboklab(48.11% 0.1581 -0.0081)
OKLCHoklch(48.11% 0.158 357.1)
XYZxyz(16.9952, 9.7533, 11.8119)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A5F #2A9E69
analogous
#9E2A99 #9E2A5F #9E2F2A
triadic
#9E2A5F #5F9E2A #2A5F9E
tetradic
#9E2A5F #999E2A #2A9E69 #2F2A9E
square
#9E2A5F #999E2A #2A9E69 #2F2A9E
split-complementary
#9E2A5F #2A9E2F #2A999E
monochromatic
#3D1025 #6E1D42 #9E2A5F #CB3A7C #D86B9D

Accessibility & contrast

On white

7.12
#9E2A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9E2A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2A5F
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A5F#FFFFFF#000000##FFFFFF
##9E2A5F1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414A60
Deuteranopia (green-blind)
#61605C
Tritanopia (blue-blind)
#AB1C41
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2a5f;
/* rgb */ color: rgb(158, 42, 95);
/* oklch */ color: oklch(48.1% 0.158 357.1);
Tailwind
colors: {
  custom: {
    50: '#bf6e8c',
    500: '#9e2a5f',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a5f;
$custom-light: #bf6e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a5f",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 332.586,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48111,
    "c": 0.15833,
    "h": 357.1
  },
  "luminance": 0.09751
}

Semantic roles & 50–950 ramp

primary
#9E2A5F
secondary
#66BE96
accent
#E19B47
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9E2A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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