#DA42B7#DA42B7

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

Color values

HEX#DA42B7
RGBrgb(218, 66, 183)
HSLhsl(314, 67%, 56%)
HSVhsv(314, 70%, 85%)
CMYKcmyk(0%, 69.7%, 16.1%, 14.5%)
CIE-LABlab(54.26, 69.98, -30.01)
CIE-LCHlch(54.26, 76.14, 336.79°)
OKLaboklab(63.51% 0.2073 -0.0812)
OKLCHoklch(63.51% 0.223 338.6)
XYZxyz(39.4098, 22.2244, 47.0048)
Luminance0.2222 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA42B7 #42DA65
analogous
#B142DA #DA42B7 #DA426B
triadic
#DA42B7 #B7DA42 #42B7DA
tetradic
#DA42B7 #DAB142 #42DA65 #426BDA
square
#DA42B7 #DAB142 #42DA65 #426BDA
split-complementary
#DA42B7 #6BDA42 #42DAB1
monochromatic
#871A6E #BA2498 #DA42B7 #E475CA #EEA8DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DA42B7#FFFFFF#000000##000000
##DA42B71.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)
#4973BA
Deuteranopia (green-blind)
#7B8AB3
Tritanopia (blue-blind)
#E64877
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #da42b7;
/* rgb */ color: rgb(218, 66, 183);
/* oklch */ color: oklch(63.5% 0.223 338.6);
Tailwind
colors: {
  custom: {
    50: '#e983cd',
    500: '#da42b7',
    950: '#000000',
  },
}
SCSS
$custom: #da42b7;
$custom-light: #e983cd;
$custom-dark: #000000;
JSON
{
  "hex": "#da42b7",
  "rgb": {
    "r": 218,
    "g": 66,
    "b": 183
  },
  "hsl": {
    "h": 313.816,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63511,
    "c": 0.22263,
    "h": 338.6
  },
  "luminance": 0.22221
}

Semantic roles & 50–950 ramp

primary
#DA42B7
secondary
#9CDBAB
accent
#EA653E
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C13
muted
#857D82

Preview Lab

Preview with #DA42B7

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

Preview Lab → · Contrast checker → · Palette generator →

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