#9D306A#9D306A

#9D306A is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.155 H 351.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9D306A
RGBrgb(157, 48, 106)
HSLhsl(328, 53%, 40%)
HSVhsv(328, 69%, 62%)
CMYKcmyk(0%, 69.4%, 32.5%, 38.4%)
CIE-LABlab(38.42, 50.23, -8.78)
CIE-LCHlch(38.42, 50.99, 350.09°)
OKLaboklab(48.96% 0.1533 -0.0227)
OKLCHoklch(48.96% 0.155 351.6)
XYZxyz(17.5640, 10.3246, 14.7008)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D306A #309D63
analogous
#99309D #9D306A #9D3034
triadic
#9D306A #6A9D30 #306A9D
tetradic
#9D306A #9D9930 #309D63 #30349D
square
#9D306A #9D9930 #309D63 #30349D
split-complementary
#9D306A #349D30 #309D99
monochromatic
#3F132B #6E224A #9D306A #C64489 #D473A7

Accessibility & contrast

On white

6.85
#9D306A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9D306A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D306A
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D306A#FFFFFF#000000##FFFFFF
##9D306A1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414E6C
Deuteranopia (green-blind)
#606267
Tritanopia (blue-blind)
#A92949
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d306a;
/* rgb */ color: rgb(157, 48, 106);
/* oklch */ color: oklch(49.0% 0.155 351.6);
Tailwind
colors: {
  custom: {
    50: '#be7194',
    500: '#9d306a',
    950: '#000000',
  },
}
SCSS
$custom: #9d306a;
$custom-light: #be7194;
$custom-dark: #000000;
JSON
{
  "hex": "#9d306a",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 328.073,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48955,
    "c": 0.155,
    "h": 351.6
  },
  "luminance": 0.10323
}

Semantic roles & 50–950 ramp

primary
#9D306A
secondary
#6DBC92
accent
#DD8F4B
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9D306A

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

Preview Lab → · Contrast checker → · Palette generator →

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