#D03FA4#D03FA4

#D03FA4 is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 60.9% C 0.208 H 342.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#D03FA4
RGBrgb(208, 63, 164)
HSLhsl(318, 61%, 53%)
HSVhsv(318, 70%, 82%)
CMYKcmyk(0%, 69.7%, 21.2%, 18.4%)
CIE-LABlab(51.44, 65.96, -23.41)
CIE-LCHlch(51.44, 69.99, 340.46°)
OKLaboklab(60.88% 0.1979 -0.0627)
OKLCHoklch(60.88% 0.208 342.4)
XYZxyz(34.4919, 19.6487, 37.0908)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03FA4 #3FD06B
analogous
#B33FD0 #D03FA4 #D03F5B
triadic
#D03FA4 #A4D03F #3FA4D0
tetradic
#D03FA4 #D0B33F #3FD06B #3F5BD0
square
#D03FA4 #D0B33F #3FD06B #3F5BD0
split-complementary
#D03FA4 #5BD03F #3FD0B3
monochromatic
#771D5C #A92982 #D03FA4 #DC70BB #E8A1D3

Accessibility & contrast

On white

4.26
#D03FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#D03FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D03FA4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03FA4#FFFFFF#000000##000000
##D03FA41.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6BA7
Deuteranopia (green-blind)
#7983A1
Tritanopia (blue-blind)
#DD406C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d03fa4;
/* rgb */ color: rgb(208, 63, 164);
/* oklch */ color: oklch(60.9% 0.208 342.4);
Tailwind
colors: {
  custom: {
    50: '#e280bf',
    500: '#d03fa4',
    950: '#000000',
  },
}
SCSS
$custom: #d03fa4;
$custom-light: #e280bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d03fa4",
  "rgb": {
    "r": 208,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 318.207,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60878,
    "c": 0.20763,
    "h": 342.4
  },
  "luminance": 0.19645
}

Semantic roles & 50–950 ramp

primary
#D03FA4
secondary
#96D5A9
accent
#E47444
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D03FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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