#DB42C1#DB42C1

#DB42C1 is a light, highly saturated pink. Relative luminance 0.228; OKLCH L 64.1% C 0.230 H 335.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#DB42C1
RGBrgb(219, 66, 193)
HSLhsl(310, 68%, 56%)
HSVhsv(310, 70%, 86%)
CMYKcmyk(0%, 69.9%, 11.9%, 14.1%)
CIE-LABlab(54.88, 71.64, -34.82)
CIE-LCHlch(54.88, 79.65, 334.07°)
OKLaboklab(64.13% 0.2094 -0.095)
OKLCHoklch(64.13% 0.23 335.6)
XYZxyz(40.7878, 22.8103, 52.6964)
Luminance0.2281 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42C1 #42DB5C
analogous
#A842DB #DB42C1 #DB4274
triadic
#DB42C1 #C1DB42 #42C1DB
tetradic
#DB42C1 #DBA842 #42DB5C #4274DB
square
#DB42C1 #DBA842 #42DB5C #4274DB
split-complementary
#DB42C1 #74DB42 #42DBA8
monochromatic
#891A76 #BC24A2 #DB42C1 #E575D2 #EFA9E3

Accessibility & contrast

On white

3.78
#DB42C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#DB42C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42C1
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42C1#FFFFFF#000000##000000
##DB42C11.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4375C5
Deuteranopia (green-blind)
#778CBD
Tritanopia (blue-blind)
#E64D7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #db42c1;
/* rgb */ color: rgb(219, 66, 193);
/* oklch */ color: oklch(64.1% 0.230 335.6);
Tailwind
colors: {
  custom: {
    50: '#ea83d4',
    500: '#db42c1',
    950: '#000000',
  },
}
SCSS
$custom: #db42c1;
$custom-light: #ea83d4;
$custom-dark: #000000;
JSON
{
  "hex": "#db42c1",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 193
  },
  "hsl": {
    "h": 310.196,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64132,
    "c": 0.22995,
    "h": 335.6
  },
  "luminance": 0.22807
}

Semantic roles & 50–950 ramp

primary
#DB42C1
secondary
#9DDCA7
accent
#EB5A3D
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DB42C1

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

Preview Lab → · Contrast checker → · Palette generator →

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