#D03FA2#D03FA2

#D03FA2 is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 60.8% C 0.206 H 343.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#D03FA2
RGBrgb(208, 63, 162)
HSLhsl(319, 61%, 53%)
HSVhsv(319, 70%, 82%)
CMYKcmyk(0%, 69.7%, 22.1%, 18.4%)
CIE-LABlab(51.36, 65.70, -22.35)
CIE-LCHlch(51.36, 69.39, 341.21°)
OKLaboklab(60.79% 0.1976 -0.0598)
OKLCHoklch(60.79% 0.206 343.2)
XYZxyz(34.3127, 19.5770, 36.1471)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03FA2 #3FD06D
analogous
#B53FD0 #D03FA2 #D03F5A
triadic
#D03FA2 #A2D03F #3FA2D0
tetradic
#D03FA2 #D0B53F #3FD06D #3F5AD0
square
#D03FA2 #D0B53F #3FD06D #3F5AD0
split-complementary
#D03FA2 #5AD03F #3FD0B5
monochromatic
#771D5B #A92980 #D03FA2 #DC70BA #E8A1D2

Accessibility & contrast

On white

4.27
#D03FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#D03FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D03FA2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03FA2#FFFFFF#000000##000000
##D03FA21.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA5
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#DD3F6B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d03fa2;
/* rgb */ color: rgb(208, 63, 162);
/* oklch */ color: oklch(60.8% 0.206 343.2);
Tailwind
colors: {
  custom: {
    50: '#e280bd',
    500: '#d03fa2',
    950: '#000000',
  },
}
SCSS
$custom: #d03fa2;
$custom-light: #e280bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d03fa2",
  "rgb": {
    "r": 208,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 319.034,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60792,
    "c": 0.20641,
    "h": 343.2
  },
  "luminance": 0.19574
}

Semantic roles & 50–950 ramp

primary
#D03FA2
secondary
#96D5AA
accent
#E47744
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D03FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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