#9D306F#9D306F

#9D306F is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.158 H 348.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9D306F
RGBrgb(157, 48, 111)
HSLhsl(325, 53%, 40%)
HSVhsv(325, 69%, 62%)
CMYKcmyk(0%, 69.4%, 29.3%, 38.4%)
CIE-LABlab(38.61, 50.86, -11.63)
CIE-LCHlch(38.61, 52.18, 347.12°)
OKLaboklab(49.15% 0.1547 -0.0305)
OKLCHoklch(49.15% 0.158 348.9)
XYZxyz(17.8317, 10.4316, 16.1103)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D306F #309D5E
analogous
#94309D #9D306F #9D3038
triadic
#9D306F #6F9D30 #306F9D
tetradic
#9D306F #9D9430 #309D5E #30389D
square
#9D306F #9D9430 #309D5E #30389D
split-complementary
#9D306F #389D30 #309D94
monochromatic
#3F132D #6E224E #9D306F #C6448F #D473AB

Accessibility & contrast

On white

6.80
#9D306F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9D306F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D306F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D306F#FFFFFF#000000##FFFFFF
##9D306F1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4F71
Deuteranopia (green-blind)
#5E626C
Tritanopia (blue-blind)
#A82B4B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d306f;
/* rgb */ color: rgb(157, 48, 111);
/* oklch */ color: oklch(49.2% 0.158 348.9);
Tailwind
colors: {
  custom: {
    50: '#be7198',
    500: '#9d306f',
    950: '#000000',
  },
}
SCSS
$custom: #9d306f;
$custom-light: #be7198;
$custom-dark: #000000;
JSON
{
  "hex": "#9d306f",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 325.321,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49154,
    "c": 0.15767,
    "h": 348.9
  },
  "luminance": 0.1043
}

Semantic roles & 50–950 ramp

primary
#9D306F
secondary
#6DBC8E
accent
#DD894B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9D306F

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

Preview Lab → · Contrast checker → · Palette generator →

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