#DA40AC#DA40AC

#DA40AC is a light, highly saturated pink. Relative luminance 0.216; OKLCH L 62.8% C 0.218 H 342.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#DA40AC
RGBrgb(218, 64, 172)
HSLhsl(318, 68%, 55%)
HSVhsv(318, 71%, 85%)
CMYKcmyk(0%, 70.6%, 21.1%, 14.5%)
CIE-LABlab(53.55, 69.18, -24.71)
CIE-LCHlch(53.55, 73.46, 340.35°)
OKLaboklab(62.84% 0.2077 -0.0662)
OKLCHoklch(62.84% 0.218 342.3)
XYZxyz(38.1945, 21.5546, 41.1707)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA40AC #40DA6E
analogous
#BB40DA #DA40AC #DA405F
triadic
#DA40AC #ACDA40 #40ACDA
tetradic
#DA40AC #DABB40 #40DA6E #405FDA
square
#DA40AC #DABB40 #40DA6E #405FDA
split-complementary
#DA40AC #5FDA40 #40DABB
monochromatic
#861A65 #B9248C #DA40AC #E473C2 #EEA7D9

Accessibility & contrast

On white

3.95
#DA40AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#DA40AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA40AC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA40AC#FFFFFF#000000##000000
##DA40AC1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E70AF
Deuteranopia (green-blind)
#7E89A8
Tritanopia (blue-blind)
#E74171
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #da40ac;
/* rgb */ color: rgb(218, 64, 172);
/* oklch */ color: oklch(62.8% 0.218 342.3);
Tailwind
colors: {
  custom: {
    50: '#ea82c5',
    500: '#da40ac',
    950: '#000000',
  },
}
SCSS
$custom: #da40ac;
$custom-light: #ea82c5;
$custom-dark: #000000;
JSON
{
  "hex": "#da40ac",
  "rgb": {
    "r": 218,
    "g": 64,
    "b": 172
  },
  "hsl": {
    "h": 317.922,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6284,
    "c": 0.21796,
    "h": 342.3
  },
  "luminance": 0.21551
}

Semantic roles & 50–950 ramp

primary
#DA40AC
secondary
#9BDBAE
accent
#EA713D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #DA40AC

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

Preview Lab → · Contrast checker → · Palette generator →

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