#DB40AF#DB40AF

#DB40AF is a light, highly saturated pink. Relative luminance 0.218; OKLCH L 63.1% C 0.220 H 341.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#DB40AF
RGBrgb(219, 64, 175)
HSLhsl(317, 68%, 55%)
HSVhsv(317, 71%, 86%)
CMYKcmyk(0%, 70.8%, 20.1%, 14.1%)
CIE-LABlab(53.84, 69.82, -26.00)
CIE-LCHlch(53.84, 74.51, 339.58°)
OKLaboklab(63.12% 0.2091 -0.0699)
OKLCHoklch(63.12% 0.22 341.5)
XYZxyz(38.7859, 21.8259, 42.7193)
Luminance0.2182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB40AF #40DB6C
analogous
#B940DB #DB40AF #DB4061
triadic
#DB40AF #AFDB40 #40AFDB
tetradic
#DB40AF #DBB940 #40DB6C #4061DB
square
#DB40AF #DBB940 #40DB6C #4061DB
split-complementary
#DB40AF #61DB40 #40DBB9
monochromatic
#871968 #BB2390 #DB40AF #E573C5 #EEA7DA

Accessibility & contrast

On white

3.91
#DB40AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#DB40AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB40AF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB40AF#FFFFFF#000000##000000
##DB40AF1.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D71B2
Deuteranopia (green-blind)
#7D8AAB
Tritanopia (blue-blind)
#E84372
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #db40af;
/* rgb */ color: rgb(219, 64, 175);
/* oklch */ color: oklch(63.1% 0.220 341.5);
Tailwind
colors: {
  custom: {
    50: '#ea82c7',
    500: '#db40af',
    950: '#000000',
  },
}
SCSS
$custom: #db40af;
$custom-light: #ea82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#db40af",
  "rgb": {
    "r": 219,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 317.032,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63123,
    "c": 0.22045,
    "h": 341.5
  },
  "luminance": 0.21822
}

Semantic roles & 50–950 ramp

primary
#DB40AF
secondary
#9BDCAD
accent
#EB6E3D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #DB40AF

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

Preview Lab → · Contrast checker → · Palette generator →

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