#9D276B#9D276B

#9D276B is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.1% C 0.167 H 349.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9D276B
RGBrgb(157, 39, 107)
HSLhsl(325, 60%, 38%)
HSVhsv(325, 75%, 62%)
CMYKcmyk(0%, 75.2%, 31.8%, 38.4%)
CIE-LABlab(37.27, 53.68, -11.15)
CIE-LCHlch(37.27, 54.82, 348.27°)
OKLaboklab(48.12% 0.164 -0.0291)
OKLCHoklch(48.12% 0.167 349.9)
XYZxyz(17.2849, 9.6827, 14.8658)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D276B #279D59
analogous
#94279D #9D276B #9D2730
triadic
#9D276B #6B9D27 #276B9D
tetradic
#9D276B #9D9427 #279D59 #27309D
square
#9D276B #9D9427 #279D59 #27309D
split-complementary
#9D276B #309D27 #279D94
monochromatic
#3B0F28 #6C1B4A #9D276B #CD358C #D966A8

Accessibility & contrast

On white

7.15
#9D276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9D276B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D276B
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D276B#FFFFFF#000000##FFFFFF
##9D276B1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4A6D
Deuteranopia (green-blind)
#5C5F68
Tritanopia (blue-blind)
#A92045
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d276b;
/* rgb */ color: rgb(157, 39, 107);
/* oklch */ color: oklch(48.1% 0.167 349.9);
Tailwind
colors: {
  custom: {
    50: '#be6d95',
    500: '#9d276b',
    950: '#000000',
  },
}
SCSS
$custom: #9d276b;
$custom-light: #be6d95;
$custom-dark: #000000;
JSON
{
  "hex": "#9d276b",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 325.424,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48123,
    "c": 0.16658,
    "h": 349.9
  },
  "luminance": 0.09681
}

Semantic roles & 50–950 ramp

primary
#9D276B
secondary
#61BF89
accent
#E38844
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9D276B

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

Preview Lab → · Contrast checker → · Palette generator →

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