#9D2056#9D2056

#9D2056 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.165 H 0.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9D2056
RGBrgb(157, 32, 86)
HSLhsl(334, 66%, 37%)
HSVhsv(334, 80%, 62%)
CMYKcmyk(0%, 79.6%, 45.2%, 38.4%)
CIE-LABlab(35.74, 53.63, -0.01)
CIE-LCHlch(35.74, 53.63, 359.99°)
OKLaboklab(46.77% 0.1648 0.0006)
OKLCHoklch(46.77% 0.165 0.2)
XYZxyz(16.1021, 8.8752, 9.6675)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2056 #209D67
analogous
#9D2095 #9D2056 #9D2820
triadic
#9D2056 #569D20 #20569D
tetradic
#9D2056 #959D20 #209D67 #28209D
square
#9D2056 #959D20 #209D67 #28209D
split-complementary
#9D2056 #209D28 #20959D
monochromatic
#370B1E #6A163A #9D2056 #D02A72 #DD5A93

Accessibility & contrast

On white

7.57
#9D2056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9D2056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2056
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2056#FFFFFF#000000##FFFFFF
##9D20561.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4557
Deuteranopia (green-blind)
#5F5D53
Tritanopia (blue-blind)
#AB0238
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d2056;
/* rgb */ color: rgb(157, 32, 86);
/* oklch */ color: oklch(46.8% 0.165 0.2);
Tailwind
colors: {
  custom: {
    50: '#bf6985',
    500: '#9d2056',
    950: '#000000',
  },
}
SCSS
$custom: #9d2056;
$custom-light: #bf6985;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2056",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 334.08,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46768,
    "c": 0.16481,
    "h": 0.2
  },
  "luminance": 0.08873
}

Semantic roles & 50–950 ramp

primary
#9D2056
secondary
#57C194
accent
#E99F3F
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D2056

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

Preview Lab → · Contrast checker → · Palette generator →

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