#9D2A5E#9D2A5E

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

Color values

HEX#9D2A5E
RGBrgb(157, 42, 94)
HSLhsl(333, 58%, 39%)
HSVhsv(333, 73%, 62%)
CMYKcmyk(0%, 73.2%, 40.1%, 38.4%)
CIE-LABlab(37.18, 51.13, -3.03)
CIE-LCHlch(37.18, 51.22, 356.61°)
OKLaboklab(47.91% 0.1569 -0.0073)
OKLCHoklch(47.91% 0.157 357.3)
XYZxyz(16.7541, 9.6342, 11.5648)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A5E #2A9D69
analogous
#9D2A98 #9D2A5E #9D302A
triadic
#9D2A5E #5E9D2A #2A5E9D
tetradic
#9D2A5E #989D2A #2A9D69 #302A9D
square
#9D2A5E #989D2A #2A9D69 #302A9D
split-complementary
#9D2A5E #2A9D30 #2A989D
monochromatic
#3C1024 #6D1D41 #9D2A5E #CA3A7B #D76A9B

Accessibility & contrast

On white

7.18
#9D2A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2A5E
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A5E#FFFFFF#000000##FFFFFF
##9D2A5E1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414A5F
Deuteranopia (green-blind)
#615F5B
Tritanopia (blue-blind)
#AA1C40
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d2a5e;
/* rgb */ color: rgb(157, 42, 94);
/* oklch */ color: oklch(47.9% 0.157 357.3);
Tailwind
colors: {
  custom: {
    50: '#bf6e8b',
    500: '#9d2a5e',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a5e;
$custom-light: #bf6e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a5e",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 332.87,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47905,
    "c": 0.15705,
    "h": 357.3
  },
  "luminance": 0.09632
}

Semantic roles & 50–950 ramp

primary
#9D2A5E
secondary
#65BE96
accent
#E19B47
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9D2A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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