#D03FA5#D03FA5

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

Color values

HEX#D03FA5
RGBrgb(208, 63, 165)
HSLhsl(318, 61%, 53%)
HSVhsv(318, 70%, 82%)
CMYKcmyk(0%, 69.7%, 20.7%, 18.4%)
CIE-LABlab(51.48, 66.09, -23.93)
CIE-LCHlch(51.48, 70.29, 340.09°)
OKLaboklab(60.92% 0.1981 -0.0642)
OKLCHoklch(60.92% 0.208 342)
XYZxyz(34.5825, 19.6849, 37.5683)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03FA5 #3FD06A
analogous
#B23FD0 #D03FA5 #D03F5C
triadic
#D03FA5 #A5D03F #3FA5D0
tetradic
#D03FA5 #D0B23F #3FD06A #3F5CD0
square
#D03FA5 #D0B23F #3FD06A #3F5CD0
split-complementary
#D03FA5 #5CD03F #3FD0B2
monochromatic
#771D5D #A92983 #D03FA5 #DC70BC #E8A1D3

Accessibility & contrast

On white

4.25
#D03FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#D03FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D03FA5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03FA5#FFFFFF#000000##000000
##D03FA51.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6CA8
Deuteranopia (green-blind)
#7883A2
Tritanopia (blue-blind)
#DD416D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d03fa5;
/* rgb */ color: rgb(208, 63, 165);
/* oklch */ color: oklch(60.9% 0.208 342.0);
Tailwind
colors: {
  custom: {
    50: '#e280c0',
    500: '#d03fa5',
    950: '#000000',
  },
}
SCSS
$custom: #d03fa5;
$custom-light: #e280c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d03fa5",
  "rgb": {
    "r": 208,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 317.793,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60922,
    "c": 0.20825,
    "h": 342
  },
  "luminance": 0.19682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D03FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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