#9D2074#9D2074

#9D2074 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.179 H 345.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9D2074
RGBrgb(157, 32, 116)
HSLhsl(320, 66%, 37%)
HSVhsv(320, 80%, 62%)
CMYKcmyk(0%, 79.6%, 26.1%, 38.4%)
CIE-LABlab(36.86, 56.99, -17.43)
CIE-LCHlch(36.86, 59.60, 342.99°)
OKLaboklab(47.95% 0.1729 -0.0464)
OKLCHoklch(47.95% 0.179 345)
XYZxyz(17.5743, 9.4640, 17.4208)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2074 #209D49
analogous
#88209D #9D2074 #9D2035
triadic
#9D2074 #749D20 #20749D
tetradic
#9D2074 #9D8820 #209D49 #20359D
square
#9D2074 #9D8820 #209D49 #20359D
split-complementary
#9D2074 #359D20 #209D88
monochromatic
#370B29 #6A164E #9D2074 #D02A9A #DD5AB2

Accessibility & contrast

On white

7.26
#9D2074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9D2074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2074
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2074#FFFFFF#000000##FFFFFF
##9D20741.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314976
Deuteranopia (green-blind)
#585E71
Tritanopia (blue-blind)
#A81E48
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d2074;
/* rgb */ color: rgb(157, 32, 116);
/* oklch */ color: oklch(47.9% 0.179 345.0);
Tailwind
colors: {
  custom: {
    50: '#be6a9c',
    500: '#9d2074',
    950: '#000000',
  },
}
SCSS
$custom: #9d2074;
$custom-light: #be6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2074",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 319.68,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4795,
    "c": 0.17901,
    "h": 345
  },
  "luminance": 0.09462
}

Semantic roles & 50–950 ramp

primary
#9D2074
secondary
#57C17A
accent
#E9773F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D2074

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

Preview Lab → · Contrast checker → · Palette generator →

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