#D42CB8#D42CB8

#D42CB8 is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 61.0% C 0.242 H 336.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#D42CB8
RGBrgb(212, 44, 184)
HSLhsl(310, 66%, 50%)
HSVhsv(310, 79%, 83%)
CMYKcmyk(0%, 79.2%, 13.2%, 16.9%)
CIE-LABlab(50.99, 75.34, -35.78)
CIE-LCHlch(50.99, 83.41, 334.60°)
OKLaboklab(60.98% 0.2215 -0.0977)
OKLCHoklch(60.98% 0.242 336.2)
XYZxyz(36.7044, 19.2626, 47.1231)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42CB8 #2CD448
analogous
#9C2CD4 #D42CB8 #D42C64
triadic
#D42CB8 #B8D42C #2CB8D4
tetradic
#D42CB8 #D49C2C #2CD448 #2C64D4
square
#D42CB8 #D49C2C #2CD448 #2C64D4
split-complementary
#D42CB8 #64D42C #2CD49C
monochromatic
#6F1760 #A2218C #D42CB8 #DE5FC9 #E992DA

Accessibility & contrast

On white

4.33
#D42CB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#D42CB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D42CB8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42CB8#FFFFFF#000000##000000
##D42CB81.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6ABC
Deuteranopia (green-blind)
#6D82B4
Tritanopia (blue-blind)
#DF3A71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d42cb8;
/* rgb */ color: rgb(212, 44, 184);
/* oklch */ color: oklch(61.0% 0.242 336.2);
Tailwind
colors: {
  custom: {
    50: '#e679cd',
    500: '#d42cb8',
    950: '#000000',
  },
}
SCSS
$custom: #d42cb8;
$custom-light: #e679cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d42cb8",
  "rgb": {
    "r": 212,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 310,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60977,
    "c": 0.24206,
    "h": 336.2
  },
  "luminance": 0.19259
}

Semantic roles & 50–950 ramp

primary
#D42CB8
secondary
#88D395
accent
#E95B3F
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A13
muted
#847C82

Preview Lab

Preview with #D42CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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