#9D2971#9D2971

#9D2971 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.168 H 347.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9D2971
RGBrgb(157, 41, 113)
HSLhsl(323, 59%, 39%)
HSVhsv(323, 74%, 62%)
CMYKcmyk(0%, 73.9%, 28%, 38.4%)
CIE-LABlab(37.75, 53.74, -14.19)
CIE-LCHlch(37.75, 55.58, 345.21°)
OKLaboklab(48.55% 0.1633 -0.0375)
OKLCHoklch(48.55% 0.168 347.1)
XYZxyz(17.6790, 9.9482, 16.6087)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2971 #299D55
analogous
#8F299D #9D2971 #9D2937
triadic
#9D2971 #719D29 #29719D
tetradic
#9D2971 #9D8F29 #299D55 #29379D
square
#9D2971 #9D8F29 #299D55 #29379D
split-complementary
#9D2971 #379D29 #299D8F
monochromatic
#3C102B #6C1C4E #9D2971 #CB3893 #D869AE

Accessibility & contrast

On white

7.03
#9D2971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9D2971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2971
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2971#FFFFFF#000000##FFFFFF
##9D29711.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394C73
Deuteranopia (green-blind)
#5B606E
Tritanopia (blue-blind)
#A82549
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2971;
/* rgb */ color: rgb(157, 41, 113);
/* oklch */ color: oklch(48.6% 0.168 347.1);
Tailwind
colors: {
  custom: {
    50: '#be6e9a',
    500: '#9d2971',
    950: '#000000',
  },
}
SCSS
$custom: #9d2971;
$custom-light: #be6e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2971",
  "rgb": {
    "r": 157,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 322.759,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48553,
    "c": 0.16757,
    "h": 347.1
  },
  "luminance": 0.09946
}

Semantic roles & 50–950 ramp

primary
#9D2971
secondary
#64BE86
accent
#E28146
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2971

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

Preview Lab → · Contrast checker → · Palette generator →

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