#D03181#D03181

#D03181 is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.3% C 0.205 H 355.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#D03181
RGBrgb(208, 49, 129)
HSLhsl(330, 63%, 50%)
HSVhsv(330, 76%, 82%)
CMYKcmyk(0%, 76.4%, 38%, 18.4%)
CIE-LABlab(48.51, 66.41, -6.93)
CIE-LCHlch(48.51, 66.77, 354.04°)
OKLaboklab(58.31% 0.2041 -0.0174)
OKLCHoklch(58.31% 0.205 355.1)
XYZxyz(31.0753, 17.1954, 22.4472)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03181 #31D080
analogous
#CF31D0 #D03181 #D03132
triadic
#D03181 #81D031 #3181D0
tetradic
#D03181 #D0CF31 #31D080 #3132D0
square
#D03181 #D0CF31 #31D080 #3132D0
split-complementary
#D03181 #32D031 #31D0CF
monochromatic
#6E1944 #9F2462 #D03181 #DB639F #E795BE

Accessibility & contrast

On white

4.73
#D03181 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#D03181 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D03181
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03181#FFFFFF#000000##FFFFFF
##D031811.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526083
Deuteranopia (green-blind)
#7E7E7D
Tritanopia (blue-blind)
#E11C55
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #d03181;
/* rgb */ color: rgb(208, 49, 129);
/* oklch */ color: oklch(58.3% 0.205 355.1);
Tailwind
colors: {
  custom: {
    50: '#e479a5',
    500: '#d03181',
    950: '#000000',
  },
}
SCSS
$custom: #d03181;
$custom-light: #e479a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d03181",
  "rgb": {
    "r": 208,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 329.811,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5831,
    "c": 0.20481,
    "h": 355.1
  },
  "luminance": 0.17192
}

Semantic roles & 50–950 ramp

primary
#D03181
secondary
#8BD2AE
accent
#E69342
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D03181

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

Preview Lab → · Contrast checker → · Palette generator →

#D03181 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva