#9E2974#9E2974

#9E2974 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.170 H 345.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9E2974
RGBrgb(158, 41, 116)
HSLhsl(322, 59%, 39%)
HSVhsv(322, 74%, 62%)
CMYKcmyk(0%, 74.1%, 26.6%, 38%)
CIE-LABlab(38.05, 54.39, -15.59)
CIE-LCHlch(38.05, 56.58, 344.01°)
OKLaboklab(48.85% 0.1649 -0.0413)
OKLCHoklch(48.85% 0.17 345.9)
XYZxyz(18.0467, 10.1179, 17.5222)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2974 #299E53
analogous
#8E299E #9E2974 #9E293A
triadic
#9E2974 #749E29 #29749E
tetradic
#9E2974 #9E8E29 #299E53 #293A9E
square
#9E2974 #9E8E29 #299E53 #293A9E
split-complementary
#9E2974 #3A9E29 #299E8E
monochromatic
#3D102D #6D1C50 #9E2974 #CC3997 #D869B0

Accessibility & contrast

On white

6.95
#9E2974 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9E2974 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2974
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2974#FFFFFF#000000##FFFFFF
##9E29741.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384D76
Deuteranopia (green-blind)
#5B6171
Tritanopia (blue-blind)
#A9264B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2974;
/* rgb */ color: rgb(158, 41, 116);
/* oklch */ color: oklch(48.8% 0.170 345.9);
Tailwind
colors: {
  custom: {
    50: '#bf6e9c',
    500: '#9e2974',
    950: '#000000',
  },
}
SCSS
$custom: #9e2974;
$custom-light: #bf6e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2974",
  "rgb": {
    "r": 158,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 321.538,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48848,
    "c": 0.17004,
    "h": 345.9
  },
  "luminance": 0.10116
}

Semantic roles & 50–950 ramp

primary
#9E2974
secondary
#64BF85
accent
#E27E46
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2974

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

Preview Lab → · Contrast checker → · Palette generator →

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