#9D2A58#9D2A58

#9D2A58 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.7% C 0.155 H 0.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9D2A58
RGBrgb(157, 42, 88)
HSLhsl(336, 58%, 39%)
HSVhsv(336, 73%, 62%)
CMYKcmyk(0%, 73.2%, 43.9%, 38.4%)
CIE-LABlab(36.99, 50.51, 0.52)
CIE-LCHlch(36.99, 50.51, 0.59°)
OKLaboklab(47.7% 0.1548 0.0019)
OKLCHoklch(47.7% 0.155 0.7)
XYZxyz(16.4953, 9.5307, 10.2016)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A58 #2A9D6F
analogous
#9D2A92 #9D2A58 #9D362A
triadic
#9D2A58 #589D2A #2A589D
tetradic
#9D2A58 #929D2A #2A9D6F #362A9D
square
#9D2A58 #929D2A #2A9D6F #362A9D
split-complementary
#9D2A58 #2A9D36 #2A929D
monochromatic
#3C1022 #6D1D3D #9D2A58 #CA3A74 #D76A96

Accessibility & contrast

On white

7.23
#9D2A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9D2A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2A58
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A58#FFFFFF#000000##FFFFFF
##9D2A581.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434959
Deuteranopia (green-blind)
#625F55
Tritanopia (blue-blind)
#AA193D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d2a58;
/* rgb */ color: rgb(157, 42, 88);
/* oklch */ color: oklch(47.7% 0.155 0.7);
Tailwind
colors: {
  custom: {
    50: '#bf6d87',
    500: '#9d2a58',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a58;
$custom-light: #bf6d87;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a58",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 88
  },
  "hsl": {
    "h": 336,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47702,
    "c": 0.15486,
    "h": 0.7
  },
  "luminance": 0.09529
}

Semantic roles & 50–950 ramp

primary
#9D2A58
secondary
#65BE9A
accent
#E1A347
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9D2A58

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

Preview Lab → · Contrast checker → · Palette generator →

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