#DB42BE#DB42BE

#DB42BE is a light, highly saturated pink. Relative luminance 0.227; OKLCH L 64.0% C 0.228 H 336.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#DB42BE
RGBrgb(219, 66, 190)
HSLhsl(311, 68%, 56%)
HSVhsv(311, 70%, 86%)
CMYKcmyk(0%, 69.9%, 13.2%, 14.1%)
CIE-LABlab(54.74, 71.21, -33.31)
CIE-LCHlch(54.74, 78.61, 334.93°)
OKLaboklab(63.99% 0.2091 -0.0906)
OKLCHoklch(63.99% 0.228 336.6)
XYZxyz(40.4565, 22.6778, 50.9518)
Luminance0.2267 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42BE #42DB5F
analogous
#AC42DB #DB42BE #DB4271
triadic
#DB42BE #BEDB42 #42BEDB
tetradic
#DB42BE #DBAC42 #42DB5F #4271DB
square
#DB42BE #DBAC42 #42DB5F #4271DB
split-complementary
#DB42BE #71DB42 #42DBAC
monochromatic
#891A74 #BC249F #DB42BE #E575D0 #EFA9E1

Accessibility & contrast

On white

3.79
#DB42BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#DB42BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42BE
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42BE#FFFFFF#000000##000000
##DB42BE1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4574C1
Deuteranopia (green-blind)
#798BBA
Tritanopia (blue-blind)
#E64B7B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #db42be;
/* rgb */ color: rgb(219, 66, 190);
/* oklch */ color: oklch(64.0% 0.228 336.6);
Tailwind
colors: {
  custom: {
    50: '#ea83d2',
    500: '#db42be',
    950: '#000000',
  },
}
SCSS
$custom: #db42be;
$custom-light: #ea83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#db42be",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 311.373,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63988,
    "c": 0.2279,
    "h": 336.6
  },
  "luminance": 0.22674
}

Semantic roles & 50–950 ramp

primary
#DB42BE
secondary
#9DDCA9
accent
#EB5E3D
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #DB42BE

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

Preview Lab → · Contrast checker → · Palette generator →

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