#DB40C0#DB40C0

#DB40C0 is a light, highly saturated pink. Relative luminance 0.225; OKLCH L 63.9% C 0.232 H 335.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#DB40C0
RGBrgb(219, 64, 192)
HSLhsl(310, 68%, 55%)
HSVhsv(310, 71%, 86%)
CMYKcmyk(0%, 70.8%, 12.3%, 14.1%)
CIE-LABlab(54.59, 72.17, -34.69)
CIE-LCHlch(54.59, 80.07, 334.32°)
OKLaboklab(63.91% 0.2113 -0.0946)
OKLCHoklch(63.91% 0.232 335.9)
XYZxyz(40.5618, 22.5362, 52.0726)
Luminance0.2253 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB40C0 #40DB5B
analogous
#A940DB #DB40C0 #DB4072
triadic
#DB40C0 #C0DB40 #40C0DB
tetradic
#DB40C0 #DBA940 #40DB5B #4072DB
square
#DB40C0 #DBA940 #40DB5B #4072DB
split-complementary
#DB40C0 #72DB40 #40DBA9
monochromatic
#871974 #BB23A0 #DB40C0 #E573D1 #EEA7E2

Accessibility & contrast

On white

3.81
#DB40C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#DB40C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB40C0
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB40C0#FFFFFF#000000##000000
##DB40C01.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4274C4
Deuteranopia (green-blind)
#778BBC
Tritanopia (blue-blind)
#E64B7B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #db40c0;
/* rgb */ color: rgb(219, 64, 192);
/* oklch */ color: oklch(63.9% 0.232 335.9);
Tailwind
colors: {
  custom: {
    50: '#ea82d3',
    500: '#db40c0',
    950: '#000000',
  },
}
SCSS
$custom: #db40c0;
$custom-light: #ea82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#db40c0",
  "rgb": {
    "r": 219,
    "g": 64,
    "b": 192
  },
  "hsl": {
    "h": 310.452,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63911,
    "c": 0.23153,
    "h": 335.9
  },
  "luminance": 0.22533
}

Semantic roles & 50–950 ramp

primary
#DB40C0
secondary
#9BDCA6
accent
#EB5B3D
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DB40C0

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

Preview Lab → · Contrast checker → · Palette generator →

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