#9D2A6F#9D2A6F

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

Color values

HEX#9D2A6F
RGBrgb(157, 42, 111)
HSLhsl(324, 58%, 39%)
HSVhsv(324, 73%, 62%)
CMYKcmyk(0%, 73.2%, 29.3%, 38.4%)
CIE-LABlab(37.80, 53.13, -12.86)
CIE-LCHlch(37.80, 54.66, 346.39°)
OKLaboklab(48.56% 0.1618 -0.0338)
OKLCHoklch(48.56% 0.165 348.2)
XYZxyz(17.6027, 9.9737, 16.0340)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A6F #2A9D58
analogous
#922A9D #9D2A6F #9D2A36
triadic
#9D2A6F #6F9D2A #2A6F9D
tetradic
#9D2A6F #9D922A #2A9D58 #2A369D
square
#9D2A6F #9D922A #2A9D58 #2A369D
split-complementary
#9D2A6F #369D2A #2A9D92
monochromatic
#3C102B #6D1D4D #9D2A6F #CA3A91 #D76AAC

Accessibility & contrast

On white

7.01
#9D2A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2A6F
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A6F#FFFFFF#000000##FFFFFF
##9D2A6F1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4C71
Deuteranopia (green-blind)
#5C606C
Tritanopia (blue-blind)
#A82549
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2a6f;
/* rgb */ color: rgb(157, 42, 111);
/* oklch */ color: oklch(48.6% 0.165 348.2);
Tailwind
colors: {
  custom: {
    50: '#be6e98',
    500: '#9d2a6f',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a6f;
$custom-light: #be6e98;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a6f",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 324,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4856,
    "c": 0.16525,
    "h": 348.2
  },
  "luminance": 0.09972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D2A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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