#9D305F#9D305F

#9D305F is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.150 H 357.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9D305F
RGBrgb(157, 48, 95)
HSLhsl(334, 53%, 40%)
HSVhsv(334, 69%, 62%)
CMYKcmyk(0%, 69.4%, 39.5%, 38.4%)
CIE-LABlab(38.04, 48.94, -2.39)
CIE-LCHlch(38.04, 49.00, 357.20°)
OKLaboklab(48.55% 0.1499 -0.0057)
OKLCHoklch(48.55% 0.15 357.8)
XYZxyz(17.0283, 10.1103, 11.8790)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D305F #309D6E
analogous
#9D3096 #9D305F #9D3730
triadic
#9D305F #5F9D30 #305F9D
tetradic
#9D305F #969D30 #309D6E #37309D
square
#9D305F #969D30 #309D6E #37309D
split-complementary
#9D305F #309D37 #30969D
monochromatic
#3F1326 #6E2243 #9D305F #C6447C #D4739D

Accessibility & contrast

On white

6.95
#9D305F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9D305F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D305F
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D305F#FFFFFF#000000##FFFFFF
##9D305F1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454C60
Deuteranopia (green-blind)
#62615C
Tritanopia (blue-blind)
#AA2443
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d305f;
/* rgb */ color: rgb(157, 48, 95);
/* oklch */ color: oklch(48.6% 0.150 357.8);
Tailwind
colors: {
  custom: {
    50: '#be708c',
    500: '#9d305f',
    950: '#000000',
  },
}
SCSS
$custom: #9d305f;
$custom-light: #be708c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d305f",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 95
  },
  "hsl": {
    "h": 334.128,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48551,
    "c": 0.15002,
    "h": 357.8
  },
  "luminance": 0.10108
}

Semantic roles & 50–950 ramp

primary
#9D305F
secondary
#6DBC9A
accent
#DD9E4B
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9D305F

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

Preview Lab → · Contrast checker → · Palette generator →

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