#9D2E56#9D2E56

#9D2E56 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.0% C 0.149 H 2.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9D2E56
RGBrgb(157, 46, 86)
HSLhsl(338, 55%, 40%)
HSVhsv(338, 71%, 62%)
CMYKcmyk(0%, 70.7%, 45.2%, 38.4%)
CIE-LABlab(37.47, 48.78, 2.50)
CIE-LCHlch(37.47, 48.85, 2.94°)
OKLaboklab(48.04% 0.1493 0.007)
OKLCHoklch(48.04% 0.149 2.7)
XYZxyz(16.5626, 9.7961, 9.8209)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E56 #2E9D75
analogous
#9D2E8E #9D2E56 #9D3D2E
triadic
#9D2E56 #569D2E #2E569D
tetradic
#9D2E56 #8E9D2E #2E9D75 #3D2E9D
square
#9D2E56 #8E9D2E #2E9D75 #3D2E9D
split-complementary
#9D2E56 #2E9D3D #2E8E9D
monochromatic
#3E1222 #6E203C #9D2E56 #C74171 #D57095

Accessibility & contrast

On white

7.10
#9D2E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2E56
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E56#FFFFFF#000000##FFFFFF
##9D2E561.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464A57
Deuteranopia (green-blind)
#646053
Tritanopia (blue-blind)
#AA1E3E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d2e56;
/* rgb */ color: rgb(157, 46, 86);
/* oklch */ color: oklch(48.0% 0.149 2.7);
Tailwind
colors: {
  custom: {
    50: '#bf6f85',
    500: '#9d2e56',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e56;
$custom-light: #bf6f85;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e56",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 86
  },
  "hsl": {
    "h": 338.378,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48042,
    "c": 0.14945,
    "h": 2.7
  },
  "luminance": 0.09794
}

Semantic roles & 50–950 ramp

primary
#9D2E56
secondary
#6ABD9F
accent
#DEA94A
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9D2E56

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

Preview Lab → · Contrast checker → · Palette generator →

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