#9E276D#9E276D

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

Color values

HEX#9E276D
RGBrgb(158, 39, 109)
HSLhsl(325, 60%, 39%)
HSVhsv(325, 75%, 62%)
CMYKcmyk(0%, 75.3%, 31%, 38%)
CIE-LABlab(37.53, 54.19, -11.99)
CIE-LCHlch(37.53, 55.50, 347.52°)
OKLaboklab(48.37% 0.1655 -0.0314)
OKLCHoklch(48.37% 0.168 349.3)
XYZxyz(17.5873, 9.8263, 15.4355)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E276D #279E58
analogous
#93279E #9E276D #9E2731
triadic
#9E276D #6D9E27 #276D9E
tetradic
#9E276D #9E9327 #279E58 #27319E
square
#9E276D #9E9327 #279E58 #27319E
split-complementary
#9E276D #319E27 #279E93
monochromatic
#3C0F29 #6D1B4B #9E276D #CD358F #D966AA

Accessibility & contrast

On white

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

On black

2.96
#9E276D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9E276D#FFFFFF#000000##FFFFFF
##9E276D1.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4B6F
Deuteranopia (green-blind)
#5C606A
Tritanopia (blue-blind)
#AA2046
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e276d;
/* rgb */ color: rgb(158, 39, 109);
/* oklch */ color: oklch(48.4% 0.168 349.3);
Tailwind
colors: {
  custom: {
    50: '#bf6d97',
    500: '#9e276d',
    950: '#000000',
  },
}
SCSS
$custom: #9e276d;
$custom-light: #bf6d97;
$custom-dark: #000000;
JSON
{
  "hex": "#9e276d",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 324.706,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48374,
    "c": 0.1684,
    "h": 349.3
  },
  "luminance": 0.09824
}

Semantic roles & 50–950 ramp

primary
#9E276D
secondary
#62BF88
accent
#E48644
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9E276D

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

Preview Lab → · Contrast checker → · Palette generator →

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