#DA42BA#DA42BA

#DA42BA is a light, highly saturated pink. Relative luminance 0.223; OKLCH L 63.6% C 0.225 H 337.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#DA42BA
RGBrgb(218, 66, 186)
HSLhsl(313, 67%, 56%)
HSVhsv(313, 70%, 85%)
CMYKcmyk(0%, 69.7%, 14.7%, 14.5%)
CIE-LABlab(54.40, 70.40, -31.54)
CIE-LCHlch(54.40, 77.14, 335.87°)
OKLaboklab(63.65% 0.2077 -0.0856)
OKLCHoklch(63.65% 0.225 337.6)
XYZxyz(39.7253, 22.3506, 48.6668)
Luminance0.2235 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA42BA #42DA62
analogous
#AE42DA #DA42BA #DA426E
triadic
#DA42BA #BADA42 #42BADA
tetradic
#DA42BA #DAAE42 #42DA62 #426EDA
square
#DA42BA #DAAE42 #42DA62 #426EDA
split-complementary
#DA42BA #6EDA42 #42DAAE
monochromatic
#871A70 #BA249B #DA42BA #E475CD #EEA8DF

Accessibility & contrast

On white

3.84
#DA42BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#DA42BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA42BA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA42BA#FFFFFF#000000##000000
##DA42BA1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4773BD
Deuteranopia (green-blind)
#798BB6
Tritanopia (blue-blind)
#E64A79
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #da42ba;
/* rgb */ color: rgb(218, 66, 186);
/* oklch */ color: oklch(63.6% 0.225 337.6);
Tailwind
colors: {
  custom: {
    50: '#e983cf',
    500: '#da42ba',
    950: '#000000',
  },
}
SCSS
$custom: #da42ba;
$custom-light: #e983cf;
$custom-dark: #000000;
JSON
{
  "hex": "#da42ba",
  "rgb": {
    "r": 218,
    "g": 66,
    "b": 186
  },
  "hsl": {
    "h": 312.632,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6365,
    "c": 0.22461,
    "h": 337.6
  },
  "luminance": 0.22347
}

Semantic roles & 50–950 ramp

primary
#DA42BA
secondary
#9CDBAA
accent
#EA623E
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #DA42BA

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

Preview Lab → · Contrast checker → · Palette generator →

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