#9D2F56#9D2F56

#9D2F56 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.1% C 0.148 H 2.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9D2F56
RGBrgb(157, 47, 86)
HSLhsl(339, 54%, 40%)
HSVhsv(339, 70%, 62%)
CMYKcmyk(0%, 70.1%, 45.2%, 38.4%)
CIE-LABlab(37.62, 48.39, 2.71)
CIE-LCHlch(37.62, 48.46, 3.21°)
OKLaboklab(48.15% 0.148 0.0075)
OKLCHoklch(48.15% 0.148 2.9)
XYZxyz(16.6021, 9.8751, 9.8341)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F56 #2F9D76
analogous
#9D2F8D #9D2F56 #9D3F2F
triadic
#9D2F56 #569D2F #2F569D
tetradic
#9D2F56 #8D9D2F #2F9D76 #3F2F9D
square
#9D2F56 #8D9D2F #2F9D76 #3F2F9D
split-complementary
#9D2F56 #2F9D3F #2F8D9D
monochromatic
#3F1322 #6E213C #9D2F56 #C74371 #D57295

Accessibility & contrast

On white

7.06
#9D2F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9D2F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2F56
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F56#FFFFFF#000000##FFFFFF
##9D2F561.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474B57
Deuteranopia (green-blind)
#646053
Tritanopia (blue-blind)
#AA1F3F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d2f56;
/* rgb */ color: rgb(157, 47, 86);
/* oklch */ color: oklch(48.1% 0.148 2.9);
Tailwind
colors: {
  custom: {
    50: '#bf7085',
    500: '#9d2f56',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f56;
$custom-light: #bf7085;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f56",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 338.727,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.48148,
    "c": 0.14821,
    "h": 2.9
  },
  "luminance": 0.09873
}

Semantic roles & 50–950 ramp

primary
#9D2F56
secondary
#6BBCA0
accent
#DDA94B
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9D2F56

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

Preview Lab → · Contrast checker → · Palette generator →

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