#DA40BC#DA40BC

#DA40BC is a light, highly saturated pink. Relative luminance 0.222; OKLCH L 63.6% C 0.228 H 336.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#DA40BC
RGBrgb(218, 64, 188)
HSLhsl(312, 68%, 55%)
HSVhsv(312, 71%, 85%)
CMYKcmyk(0%, 70.6%, 13.8%, 14.5%)
CIE-LABlab(54.25, 71.36, -32.94)
CIE-LCHlch(54.25, 78.60, 335.23°)
OKLaboklab(63.57% 0.2099 -0.0896)
OKLCHoklch(63.57% 0.228 336.9)
XYZxyz(39.8246, 22.2067, 49.7561)
Luminance0.2220 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA40BC #40DA5E
analogous
#AB40DA #DA40BC #DA406F
triadic
#DA40BC #BCDA40 #40BCDA
tetradic
#DA40BC #DAAB40 #40DA5E #406FDA
square
#DA40BC #DAAB40 #40DA5E #406FDA
split-complementary
#DA40BC #6FDA40 #40DAAB
monochromatic
#861A71 #B9249C #DA40BC #E473CE #EEA7E0

Accessibility & contrast

On white

3.86
#DA40BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#DA40BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA40BC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA40BC#FFFFFF#000000##000000
##DA40BC1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4473BF
Deuteranopia (green-blind)
#788AB8
Tritanopia (blue-blind)
#E54979
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #da40bc;
/* rgb */ color: rgb(218, 64, 188);
/* oklch */ color: oklch(63.6% 0.228 336.9);
Tailwind
colors: {
  custom: {
    50: '#e982d0',
    500: '#da40bc',
    950: '#000000',
  },
}
SCSS
$custom: #da40bc;
$custom-light: #e982d0;
$custom-dark: #000000;
JSON
{
  "hex": "#da40bc",
  "rgb": {
    "r": 218,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 311.688,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6357,
    "c": 0.22824,
    "h": 336.9
  },
  "luminance": 0.22203
}

Semantic roles & 50–950 ramp

primary
#DA40BC
secondary
#9BDBA7
accent
#EA5F3D
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #DA40BC

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

Preview Lab → · Contrast checker → · Palette generator →

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