#9D306E#9D306E

#9D306E is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.157 H 349.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9D306E
RGBrgb(157, 48, 110)
HSLhsl(326, 53%, 40%)
HSVhsv(326, 69%, 62%)
CMYKcmyk(0%, 69.4%, 29.9%, 38.4%)
CIE-LABlab(38.57, 50.73, -11.06)
CIE-LCHlch(38.57, 51.93, 347.70°)
OKLaboklab(49.11% 0.1544 -0.0289)
OKLCHoklch(49.11% 0.157 349.4)
XYZxyz(17.7769, 10.4097, 15.8219)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D306E #309D5F
analogous
#96309D #9D306E #9D3037
triadic
#9D306E #6E9D30 #306E9D
tetradic
#9D306E #9D9630 #309D5F #30379D
square
#9D306E #9D9630 #309D5F #30379D
split-complementary
#9D306E #379D30 #309D96
monochromatic
#3F132C #6E224D #9D306E #C6448E #D473AA

Accessibility & contrast

On white

6.81
#9D306E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9D306E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D306E
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D306E#FFFFFF#000000##FFFFFF
##9D306E1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F70
Deuteranopia (green-blind)
#5F626B
Tritanopia (blue-blind)
#A82B4B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d306e;
/* rgb */ color: rgb(157, 48, 110);
/* oklch */ color: oklch(49.1% 0.157 349.4);
Tailwind
colors: {
  custom: {
    50: '#be7197',
    500: '#9d306e',
    950: '#000000',
  },
}
SCSS
$custom: #9d306e;
$custom-light: #be7197;
$custom-dark: #000000;
JSON
{
  "hex": "#9d306e",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 325.872,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49113,
    "c": 0.15713,
    "h": 349.4
  },
  "luminance": 0.10408
}

Semantic roles & 50–950 ramp

primary
#9D306E
secondary
#6DBC8F
accent
#DD8A4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9D306E

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

Preview Lab → · Contrast checker → · Palette generator →

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