#D42CB4#D42CB4

#D42CB4 is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.8% C 0.239 H 337.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#D42CB4
RGBrgb(212, 44, 180)
HSLhsl(311, 66%, 50%)
HSVhsv(311, 79%, 83%)
CMYKcmyk(0%, 79.2%, 15.1%, 16.9%)
CIE-LABlab(50.80, 74.80, -33.74)
CIE-LCHlch(50.80, 82.06, 335.72°)
OKLaboklab(60.78% 0.2212 -0.0918)
OKLCHoklch(60.78% 0.24 337.5)
XYZxyz(36.2911, 19.0972, 44.9460)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42CB4 #2CD44C
analogous
#A02CD4 #D42CB4 #D42C60
triadic
#D42CB4 #B4D42C #2CB4D4
tetradic
#D42CB4 #D4A02C #2CD44C #2C60D4
square
#D42CB4 #D4A02C #2CD44C #2C60D4
split-complementary
#D42CB4 #60D42C #2CD4A0
monochromatic
#6F175E #A22189 #D42CB4 #DE5FC6 #E992D8

Accessibility & contrast

On white

4.36
#D42CB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#D42CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D42CB4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42CB4#FFFFFF#000000##000000
##D42CB41.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3369B7
Deuteranopia (green-blind)
#6F82B0
Tritanopia (blue-blind)
#E0386F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d42cb4;
/* rgb */ color: rgb(212, 44, 180);
/* oklch */ color: oklch(60.8% 0.239 337.5);
Tailwind
colors: {
  custom: {
    50: '#e679cb',
    500: '#d42cb4',
    950: '#000000',
  },
}
SCSS
$custom: #d42cb4;
$custom-light: #e679cb;
$custom-dark: #000000;
JSON
{
  "hex": "#d42cb4",
  "rgb": {
    "r": 212,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 311.429,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60777,
    "c": 0.2395,
    "h": 337.5
  },
  "luminance": 0.19094
}

Semantic roles & 50–950 ramp

primary
#D42CB4
secondary
#88D397
accent
#E95F3F
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #D42CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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