#9E2A63#9E2A63

#9E2A63 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.160 H 354.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9E2A63
RGBrgb(158, 42, 99)
HSLhsl(331, 58%, 39%)
HSVhsv(331, 73%, 62%)
CMYKcmyk(0%, 73.4%, 37.3%, 38%)
CIE-LABlab(37.53, 51.97, -5.66)
CIE-LCHlch(37.53, 52.28, 353.78°)
OKLaboklab(48.26% 0.1594 -0.0143)
OKLCHoklch(48.26% 0.16 354.9)
XYZxyz(17.1817, 9.8280, 12.7941)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A63 #2A9E65
analogous
#9E2A9D #9E2A63 #9E2B2A
triadic
#9E2A63 #639E2A #2A639E
tetradic
#9E2A63 #9D9E2A #2A9E65 #2B2A9E
square
#9E2A63 #9D9E2A #2A9E65 #2B2A9E
split-complementary
#9E2A63 #2A9E2B #2A9D9E
monochromatic
#3D1026 #6E1D45 #9E2A63 #CB3A81 #D86BA0

Accessibility & contrast

On white

7.08
#9E2A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9E2A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2A63
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A63#FFFFFF#000000##FFFFFF
##9E2A631.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404B65
Deuteranopia (green-blind)
#606060
Tritanopia (blue-blind)
#AB1E43
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2a63;
/* rgb */ color: rgb(158, 42, 99);
/* oklch */ color: oklch(48.3% 0.160 354.9);
Tailwind
colors: {
  custom: {
    50: '#bf6e8f',
    500: '#9e2a63',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a63;
$custom-light: #bf6e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a63",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 330.517,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48255,
    "c": 0.16001,
    "h": 354.9
  },
  "luminance": 0.09826
}

Semantic roles & 50–950 ramp

primary
#9E2A63
secondary
#66BE93
accent
#E19547
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9E2A63

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

Preview Lab → · Contrast checker → · Palette generator →

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