#9D304C#9D304C

#9D304C is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.0% C 0.145 H 9.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9D304C
RGBrgb(157, 48, 76)
HSLhsl(345, 53%, 40%)
HSVhsv(345, 69%, 62%)
CMYKcmyk(0%, 69.4%, 51.6%, 38.4%)
CIE-LABlab(37.49, 47.04, 8.91)
CIE-LCHlch(37.49, 47.88, 10.72°)
OKLaboklab(47.97% 0.1429 0.0229)
OKLCHoklch(47.97% 0.145 9.1)
XYZxyz(16.2675, 9.8059, 7.8722)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D304C #309D81
analogous
#9D3083 #9D304C #9D4A30
triadic
#9D304C #4C9D30 #304C9D
tetradic
#9D304C #839D30 #309D81 #4A309D
square
#9D304C #839D30 #309D81 #4A309D
split-complementary
#9D304C #309D4A #30839D
monochromatic
#3F131F #6E2235 #9D304C #C64466 #D4738C

Accessibility & contrast

On white

7.09
#9D304C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9D304C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D304C
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D304C#FFFFFF#000000##FFFFFF
##9D304C1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4A4D
Deuteranopia (green-blind)
#666049
Tritanopia (blue-blind)
#AB1C3B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d304c;
/* rgb */ color: rgb(157, 48, 76);
/* oklch */ color: oklch(48.0% 0.145 9.1);
Tailwind
colors: {
  custom: {
    50: '#bf707d',
    500: '#9d304c',
    950: '#000000',
  },
}
SCSS
$custom: #9d304c;
$custom-light: #bf707d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d304c",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 76
  },
  "hsl": {
    "h": 344.587,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47966,
    "c": 0.14473,
    "h": 9.1
  },
  "luminance": 0.09804
}

Semantic roles & 50–950 ramp

primary
#9D304C
secondary
#6DBCA8
accent
#DDB74B
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#130809
muted
#827B7B

Preview Lab

Preview with #9D304C

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

Preview Lab → · Contrast checker → · Palette generator →

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