#9D2A6E#9D2A6E

#9D2A6E is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.165 H 348.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9D2A6E
RGBrgb(157, 42, 110)
HSLhsl(325, 58%, 39%)
HSVhsv(325, 73%, 62%)
CMYKcmyk(0%, 73.2%, 29.9%, 38.4%)
CIE-LABlab(37.76, 53.00, -12.30)
CIE-LCHlch(37.76, 54.41, 346.94°)
OKLaboklab(48.52% 0.1615 -0.0323)
OKLCHoklch(48.52% 0.165 348.7)
XYZxyz(17.5479, 9.9518, 15.7456)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A6E #2A9D59
analogous
#932A9D #9D2A6E #9D2A34
triadic
#9D2A6E #6E9D2A #2A6E9D
tetradic
#9D2A6E #9D932A #2A9D59 #2A349D
square
#9D2A6E #9D932A #2A9D59 #2A349D
split-complementary
#9D2A6E #349D2A #2A9D93
monochromatic
#3C102A #6D1D4C #9D2A6E #CA3A8F #D76AAB

Accessibility & contrast

On white

7.02
#9D2A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9D2A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2A6E
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A6E#FFFFFF#000000##FFFFFF
##9D2A6E1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4C70
Deuteranopia (green-blind)
#5C606B
Tritanopia (blue-blind)
#A82548
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2a6e;
/* rgb */ color: rgb(157, 42, 110);
/* oklch */ color: oklch(48.5% 0.165 348.7);
Tailwind
colors: {
  custom: {
    50: '#be6e97',
    500: '#9d2a6e',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a6e;
$custom-light: #be6e97;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a6e",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 324.522,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48518,
    "c": 0.16469,
    "h": 348.7
  },
  "luminance": 0.0995
}

Semantic roles & 50–950 ramp

primary
#9D2A6E
secondary
#65BE89
accent
#E18647
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9D2A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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