#D03F8C#D03F8C

#D03F8C is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.9% C 0.194 H 352.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#D03F8C
RGBrgb(208, 63, 140)
HSLhsl(328, 61%, 53%)
HSVhsv(328, 70%, 82%)
CMYKcmyk(0%, 69.7%, 32.7%, 18.4%)
CIE-LABlab(50.53, 62.98, -10.54)
CIE-LCHlch(50.53, 63.86, 350.50°)
OKLaboklab(59.91% 0.1925 -0.0272)
OKLCHoklch(59.91% 0.194 352)
XYZxyz(32.5254, 18.8621, 26.7337)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03F8C #3FD083
analogous
#CB3FD0 #D03F8C #D03F43
triadic
#D03F8C #8CD03F #3F8CD0
tetradic
#D03F8C #D0CB3F #3FD083 #3F43D0
square
#D03F8C #D0CB3F #3FD083 #3F43D0
split-complementary
#D03F8C #43D03F #3FD0CB
monochromatic
#771D4D #A9296D #D03F8C #DC70A9 #E8A1C7

Accessibility & contrast

On white

4.40
#D03F8C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#D03F8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D03F8C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03F8C#FFFFFF#000000##000000
##D03F8C1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#57688E
Deuteranopia (green-blind)
#808289
Tritanopia (blue-blind)
#DF3560
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d03f8c;
/* rgb */ color: rgb(208, 63, 140);
/* oklch */ color: oklch(59.9% 0.194 352.0);
Tailwind
colors: {
  custom: {
    50: '#e37fad',
    500: '#d03f8c',
    950: '#000000',
  },
}
SCSS
$custom: #d03f8c;
$custom-light: #e37fad;
$custom-dark: #000000;
JSON
{
  "hex": "#d03f8c",
  "rgb": {
    "r": 208,
    "g": 63,
    "b": 140
  },
  "hsl": {
    "h": 328.138,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59913,
    "c": 0.19441,
    "h": 352
  },
  "luminance": 0.18858
}

Semantic roles & 50–950 ramp

primary
#D03F8C
secondary
#96D5B3
accent
#E48F44
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #D03F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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