#DB40C1#DB40C1

#DB40C1 is a light, highly saturated pink. Relative luminance 0.226; OKLCH L 64.0% C 0.232 H 335.6°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#DB40C1
RGBrgb(219, 64, 193)
HSLhsl(310, 68%, 55%)
HSVhsv(310, 71%, 86%)
CMYKcmyk(0%, 70.8%, 11.9%, 14.1%)
CIE-LABlab(54.64, 72.31, -35.20)
CIE-LCHlch(54.64, 80.42, 334.04°)
OKLaboklab(63.96% 0.2114 -0.096)
OKLCHoklch(63.96% 0.232 335.6)
XYZxyz(40.6730, 22.5807, 52.6581)
Luminance0.2258 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB40C1 #40DB5A
analogous
#A840DB #DB40C1 #DB4073
triadic
#DB40C1 #C1DB40 #40C1DB
tetradic
#DB40C1 #DBA840 #40DB5A #4073DB
square
#DB40C1 #DBA840 #40DB5A #4073DB
split-complementary
#DB40C1 #73DB40 #40DBA8
monochromatic
#871975 #BB23A1 #DB40C1 #E573D2 #EEA7E2

Accessibility & contrast

On white

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

On black

5.52
#DB40C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB40C1
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB40C1#FFFFFF#000000##000000
##DB40C11.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4174C5
Deuteranopia (green-blind)
#768BBD
Tritanopia (blue-blind)
#E64B7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #db40c1;
/* rgb */ color: rgb(219, 64, 193);
/* oklch */ color: oklch(64.0% 0.232 335.6);
Tailwind
colors: {
  custom: {
    50: '#ea82d4',
    500: '#db40c1',
    950: '#000000',
  },
}
SCSS
$custom: #db40c1;
$custom-light: #ea82d4;
$custom-dark: #000000;
JSON
{
  "hex": "#db40c1",
  "rgb": {
    "r": 219,
    "g": 64,
    "b": 193
  },
  "hsl": {
    "h": 310.065,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63959,
    "c": 0.2322,
    "h": 335.6
  },
  "luminance": 0.22577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB40C1

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

Preview Lab → · Contrast checker → · Palette generator →

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