#9D2856#9D2856

#9D2856 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.4% C 0.157 H 1.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9D2856
RGBrgb(157, 40, 86)
HSLhsl(336, 59%, 39%)
HSVhsv(336, 75%, 62%)
CMYKcmyk(0%, 74.5%, 45.2%, 38.4%)
CIE-LABlab(36.67, 51.03, 1.34)
CIE-LCHlch(36.67, 51.05, 1.50°)
OKLaboklab(47.45% 0.1565 0.004)
OKLCHoklch(47.45% 0.157 1.5)
XYZxyz(16.3444, 9.3597, 9.7482)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2856 #289D6F
analogous
#9D2890 #9D2856 #9D3428
triadic
#9D2856 #569D28 #28569D
tetradic
#9D2856 #909D28 #289D6F #34289D
square
#9D2856 #909D28 #289D6F #34289D
split-complementary
#9D2856 #289D34 #28909D
monochromatic
#3B0F21 #6C1C3B #9D2856 #CC3671 #D86794

Accessibility & contrast

On white

7.31
#9D2856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9D2856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2856
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2856#FFFFFF#000000##FFFFFF
##9D28561.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424857
Deuteranopia (green-blind)
#625E53
Tritanopia (blue-blind)
#AB143C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d2856;
/* rgb */ color: rgb(157, 40, 86);
/* oklch */ color: oklch(47.4% 0.157 1.5);
Tailwind
colors: {
  custom: {
    50: '#bf6c85',
    500: '#9d2856',
    950: '#000000',
  },
}
SCSS
$custom: #9d2856;
$custom-light: #bf6c85;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2856",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 86
  },
  "hsl": {
    "h": 336.41,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47447,
    "c": 0.1565,
    "h": 1.5
  },
  "luminance": 0.09358
}

Semantic roles & 50–950 ramp

primary
#9D2856
secondary
#62BE9A
accent
#E3A545
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9D2856

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

Preview Lab → · Contrast checker → · Palette generator →

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