#DB46B2#DB46B2

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

Color values

HEX#DB46B2
RGBrgb(219, 70, 178)
HSLhsl(317, 67%, 57%)
HSVhsv(317, 68%, 86%)
CMYKcmyk(0%, 68%, 18.7%, 14.1%)
CIE-LABlab(54.72, 68.12, -26.39)
CIE-LCHlch(54.72, 73.05, 338.82°)
OKLaboklab(63.8% 0.2032 -0.071)
OKLCHoklch(63.8% 0.215 340.7)
XYZxyz(39.4405, 22.6585, 44.4072)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB46B2 #46DB6F
analogous
#BA46DB #DB46B2 #DB4668
triadic
#DB46B2 #B2DB46 #46B2DB
tetradic
#DB46B2 #DBBA46 #46DB6F #4668DB
square
#DB46B2 #DBBA46 #46DB6F #4668DB
split-complementary
#DB46B2 #68DB46 #46DBBA
monochromatic
#8B1B6D #BF2594 #DB46B2 #E579C7 #EFACDD

Accessibility & contrast

On white

3.80
#DB46B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB46B2#FFFFFF#000000##000000
##DB46B21.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5074B5
Deuteranopia (green-blind)
#7F8CAE
Tritanopia (blue-blind)
#E84976
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #db46b2;
/* rgb */ color: rgb(219, 70, 178);
/* oklch */ color: oklch(63.8% 0.215 340.7);
Tailwind
colors: {
  custom: {
    50: '#ea85c9',
    500: '#db46b2',
    950: '#000000',
  },
}
SCSS
$custom: #db46b2;
$custom-light: #ea85c9;
$custom-dark: #000000;
JSON
{
  "hex": "#db46b2",
  "rgb": {
    "r": 219,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 316.51,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63802,
    "c": 0.21523,
    "h": 340.7
  },
  "luminance": 0.22655
}

Semantic roles & 50–950 ramp

primary
#DB46B2
secondary
#A0DDB1
accent
#EA6D3D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DB46B2

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

Preview Lab → · Contrast checker → · Palette generator →

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