#D042A3#D042A3

#D042A3 is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.1% C 0.203 H 343.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#D042A3
RGBrgb(208, 66, 163)
HSLhsl(319, 60%, 54%)
HSVhsv(319, 68%, 82%)
CMYKcmyk(0%, 68.3%, 21.6%, 18.4%)
CIE-LABlab(51.79, 64.74, -22.28)
CIE-LCHlch(51.79, 68.47, 341.01°)
OKLaboklab(61.12% 0.1944 -0.0596)
OKLCHoklch(61.12% 0.203 343)
XYZxyz(34.5726, 19.9541, 36.6740)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D042A3 #42D06F
analogous
#B642D0 #D042A3 #D0425C
triadic
#D042A3 #A3D042 #42A3D0
tetradic
#D042A3 #D0B642 #42D06F #425CD0
square
#D042A3 #D0B642 #42D06F #425CD0
split-complementary
#D042A3 #5CD042 #42D0B6
monochromatic
#791E5D #AA2A82 #D042A3 #DC73BB #E8A4D3

Accessibility & contrast

On white

4.21
#D042A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#D042A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D042A3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D042A3#FFFFFF#000000##000000
##D042A31.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6CA6
Deuteranopia (green-blind)
#7A84A0
Tritanopia (blue-blind)
#DD436D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d042a3;
/* rgb */ color: rgb(208, 66, 163);
/* oklch */ color: oklch(61.1% 0.203 343.0);
Tailwind
colors: {
  custom: {
    50: '#e281be',
    500: '#d042a3',
    950: '#000000',
  },
}
SCSS
$custom: #d042a3;
$custom-light: #e281be;
$custom-dark: #000000;
JSON
{
  "hex": "#d042a3",
  "rgb": {
    "r": 208,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 319.014,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61119,
    "c": 0.20336,
    "h": 343
  },
  "luminance": 0.19951
}

Semantic roles & 50–950 ramp

primary
#D042A3
secondary
#99D5AC
accent
#E37744
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D042A3

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

Preview Lab → · Contrast checker → · Palette generator →

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