#9E2A75#9E2A75

#9E2A75 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.169 H 345.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9E2A75
RGBrgb(158, 42, 117)
HSLhsl(321, 58%, 39%)
HSVhsv(321, 73%, 62%)
CMYKcmyk(0%, 73.4%, 25.9%, 38%)
CIE-LABlab(38.22, 54.17, -15.96)
CIE-LCHlch(38.22, 56.48, 343.58°)
OKLaboklab(48.98% 0.1641 -0.0424)
OKLCHoklch(48.98% 0.169 345.5)
XYZxyz(18.1402, 10.2113, 17.8418)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A75 #2A9E53
analogous
#8D2A9E #9E2A75 #9E2A3B
triadic
#9E2A75 #759E2A #2A759E
tetradic
#9E2A75 #9E8D2A #2A9E53 #2A3B9E
square
#9E2A75 #9E8D2A #2A9E53 #2A3B9E
split-complementary
#9E2A75 #3B9E2A #2A9E8D
monochromatic
#3D102D #6E1D51 #9E2A75 #CB3A98 #D86BB1

Accessibility & contrast

On white

6.90
#9E2A75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9E2A75 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2A75
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A75#FFFFFF#000000##FFFFFF
##9E2A751.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384D77
Deuteranopia (green-blind)
#5B6172
Tritanopia (blue-blind)
#A9284C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2a75;
/* rgb */ color: rgb(158, 42, 117);
/* oklch */ color: oklch(49.0% 0.169 345.5);
Tailwind
colors: {
  custom: {
    50: '#bf6e9d',
    500: '#9e2a75',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a75;
$custom-light: #bf6e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a75",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 321.207,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48983,
    "c": 0.16946,
    "h": 345.5
  },
  "luminance": 0.10209
}

Semantic roles & 50–950 ramp

primary
#9E2A75
secondary
#66BE85
accent
#E17D47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2A75

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

Preview Lab → · Contrast checker → · Palette generator →

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