#9D2E57#9D2E57

#9D2E57 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.1% C 0.150 H 2.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9D2E57
RGBrgb(157, 46, 87)
HSLhsl(338, 55%, 40%)
HSVhsv(338, 71%, 62%)
CMYKcmyk(0%, 70.7%, 44.6%, 38.4%)
CIE-LABlab(37.50, 48.89, 1.91)
CIE-LCHlch(37.50, 48.92, 2.24°)
OKLaboklab(48.07% 0.1497 0.0055)
OKLCHoklch(48.07% 0.15 2.1)
XYZxyz(16.6032, 9.8123, 10.0346)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E57 #2E9D74
analogous
#9D2E8F #9D2E57 #9D3D2E
triadic
#9D2E57 #579D2E #2E579D
tetradic
#9D2E57 #8F9D2E #2E9D74 #3D2E9D
square
#9D2E57 #8F9D2E #2E9D74 #3D2E9D
split-complementary
#9D2E57 #2E9D3D #2E8F9D
monochromatic
#3E1223 #6E203D #9D2E57 #C74173 #D57096

Accessibility & contrast

On white

7.09
#9D2E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2E57
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E57#FFFFFF#000000##FFFFFF
##9D2E571.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464B58
Deuteranopia (green-blind)
#636054
Tritanopia (blue-blind)
#AA1E3F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d2e57;
/* rgb */ color: rgb(157, 46, 87);
/* oklch */ color: oklch(48.1% 0.150 2.1);
Tailwind
colors: {
  custom: {
    50: '#bf6f86',
    500: '#9d2e57',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e57;
$custom-light: #bf6f86;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e57",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 87
  },
  "hsl": {
    "h": 337.838,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48074,
    "c": 0.14975,
    "h": 2.1
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

primary
#9D2E57
secondary
#6ABD9E
accent
#DEA74A
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9D2E57

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

Preview Lab → · Contrast checker → · Palette generator →

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