#9D2A5F#9D2A5F

#9D2A5F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.9% C 0.157 H 356.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9D2A5F
RGBrgb(157, 42, 95)
HSLhsl(332, 58%, 39%)
HSVhsv(332, 73%, 62%)
CMYKcmyk(0%, 73.2%, 39.5%, 38.4%)
CIE-LABlab(37.21, 51.24, -3.62)
CIE-LCHlch(37.21, 51.37, 355.96°)
OKLaboklab(47.94% 0.1572 -0.0089)
OKLCHoklch(47.94% 0.157 356.8)
XYZxyz(16.7993, 9.6523, 11.8027)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A5F #2A9D68
analogous
#9D2A99 #9D2A5F #9D2F2A
triadic
#9D2A5F #5F9D2A #2A5F9D
tetradic
#9D2A5F #999D2A #2A9D68 #2F2A9D
square
#9D2A5F #999D2A #2A9D68 #2F2A9D
split-complementary
#9D2A5F #2A9D2F #2A999D
monochromatic
#3C1025 #6D1D42 #9D2A5F #CA3A7C #D76A9C

Accessibility & contrast

On white

7.17
#9D2A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9D2A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2A5F
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A5F#FFFFFF#000000##FFFFFF
##9D2A5F1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414A60
Deuteranopia (green-blind)
#605F5C
Tritanopia (blue-blind)
#AA1D41
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d2a5f;
/* rgb */ color: rgb(157, 42, 95);
/* oklch */ color: oklch(47.9% 0.157 356.8);
Tailwind
colors: {
  custom: {
    50: '#be6e8c',
    500: '#9d2a5f',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a5f;
$custom-light: #be6e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a5f",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 332.348,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47941,
    "c": 0.15746,
    "h": 356.8
  },
  "luminance": 0.0965
}

Semantic roles & 50–950 ramp

primary
#9D2A5F
secondary
#65BE95
accent
#E19A47
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9D2A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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