#9E2C7A#9E2C7A

#9E2C7A is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.170 H 343.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9E2C7A
RGBrgb(158, 44, 122)
HSLhsl(319, 56%, 40%)
HSVhsv(319, 72%, 62%)
CMYKcmyk(0%, 72.2%, 22.8%, 38%)
CIE-LABlab(38.69, 54.13, -18.36)
CIE-LCHlch(38.69, 57.16, 341.26°)
OKLaboklab(49.39% 0.1629 -0.0491)
OKLCHoklch(49.39% 0.17 343.2)
XYZxyz(18.5147, 10.4775, 19.4559)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2C7A #2C9E50
analogous
#892C9E #9E2C7A #9E2C41
triadic
#9E2C7A #7A9E2C #2C7A9E
tetradic
#9E2C7A #9E892C #2C9E50 #2C419E
square
#9E2C7A #9E892C #2C9E50 #2C419E
split-complementary
#9E2C7A #419E2C #2C9E89
monochromatic
#3E1130 #6E1F55 #9E2C7A #C93E9D #D76EB5

Accessibility & contrast

On white

6.78
#9E2C7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9E2C7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2C7A
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2C7A#FFFFFF#000000##FFFFFF
##9E2C7A1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7C
Deuteranopia (green-blind)
#5A6277
Tritanopia (blue-blind)
#A82C4F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2c7a;
/* rgb */ color: rgb(158, 44, 122);
/* oklch */ color: oklch(49.4% 0.170 343.2);
Tailwind
colors: {
  custom: {
    50: '#be6fa0',
    500: '#9e2c7a',
    950: '#000000',
  },
}
SCSS
$custom: #9e2c7a;
$custom-light: #be6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2c7a",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 318.947,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49392,
    "c": 0.17013,
    "h": 343.2
  },
  "luminance": 0.10476
}

Semantic roles & 50–950 ramp

primary
#9E2C7A
secondary
#68BE83
accent
#E07848
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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