#DD42B2#DD42B2

#DD42B2 is a light, highly saturated pink. Relative luminance 0.225; OKLCH L 63.7% C 0.221 H 341.1°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#DD42B2
RGBrgb(221, 66, 178)
HSLhsl(317, 70%, 56%)
HSVhsv(317, 70%, 87%)
CMYKcmyk(0%, 70.1%, 19.5%, 13.3%)
CIE-LABlab(54.54, 70.03, -26.64)
CIE-LCHlch(54.54, 74.93, 339.17°)
OKLaboklab(63.73% 0.2094 -0.0717)
OKLCHoklch(63.73% 0.221 341.1)
XYZxyz(39.8041, 22.4868, 44.3550)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD42B2 #42DD6D
analogous
#BB42DD #DD42B2 #DD4265
triadic
#DD42B2 #B2DD42 #42B2DD
tetradic
#DD42B2 #DDBB42 #42DD6D #4265DD
square
#DD42B2 #DDBB42 #42DD6D #4265DD
split-complementary
#DD42B2 #65DD42 #42DDBB
monochromatic
#8C196C #BF2294 #DD42B2 #E676C7 #F0AADC

Accessibility & contrast

On white

3.82
#DD42B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#DD42B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD42B2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD42B2#FFFFFF#000000##000000
##DD42B21.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E72B5
Deuteranopia (green-blind)
#7F8CAE
Tritanopia (blue-blind)
#EA4575
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #dd42b2;
/* rgb */ color: rgb(221, 66, 178);
/* oklch */ color: oklch(63.7% 0.221 341.1);
Tailwind
colors: {
  custom: {
    50: '#ec83c9',
    500: '#dd42b2',
    950: '#000000',
  },
}
SCSS
$custom: #dd42b2;
$custom-light: #ec83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#dd42b2",
  "rgb": {
    "r": 221,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 316.645,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63734,
    "c": 0.22128,
    "h": 341.1
  },
  "luminance": 0.22483
}

Semantic roles & 50–950 ramp

primary
#DD42B2
secondary
#9DDDAF
accent
#EC6D3B
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DD42B2

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

Preview Lab → · Contrast checker → · Palette generator →

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