#D042B0#D042B0

#D042B0 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.7% C 0.212 H 338.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D042B0
RGBrgb(208, 66, 176)
HSLhsl(314, 60%, 54%)
HSVhsv(314, 68%, 82%)
CMYKcmyk(0%, 68.3%, 15.4%, 18.4%)
CIE-LABlab(52.34, 66.53, -29.06)
CIE-LCHlch(52.34, 72.60, 336.41°)
OKLaboklab(61.7% 0.1966 -0.0787)
OKLCHoklch(61.7% 0.212 338.2)
XYZxyz(35.7978, 20.4442, 43.1267)
Luminance0.2044 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D042B0 #42D062
analogous
#A942D0 #D042B0 #D04269
triadic
#D042B0 #B0D042 #42B0D0
tetradic
#D042B0 #D0A942 #42D062 #4269D0
square
#D042B0 #D0A942 #42D062 #4269D0
split-complementary
#D042B0 #69D042 #42D0A9
monochromatic
#791E65 #AA2A8E #D042B0 #DC73C4 #E8A4D9

Accessibility & contrast

On white

4.13
#D042B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#D042B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D042B0
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D042B0#FFFFFF#000000##000000
##D042B01.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#486FB3
Deuteranopia (green-blind)
#7685AD
Tritanopia (blue-blind)
#DB4873
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d042b0;
/* rgb */ color: rgb(208, 66, 176);
/* oklch */ color: oklch(61.7% 0.212 338.2);
Tailwind
colors: {
  custom: {
    50: '#e281c8',
    500: '#d042b0',
    950: '#000000',
  },
}
SCSS
$custom: #d042b0;
$custom-light: #e281c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d042b0",
  "rgb": {
    "r": 208,
    "g": 66,
    "b": 176
  },
  "hsl": {
    "h": 313.521,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61699,
    "c": 0.21177,
    "h": 338.2
  },
  "luminance": 0.20441
}

Semantic roles & 50–950 ramp

primary
#D042B0
secondary
#99D5A6
accent
#E36844
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D042B0

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

Preview Lab → · Contrast checker → · Palette generator →

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