#DC45AF#DC45AF

#DC45AF is a light, highly saturated pink. Relative luminance 0.226; OKLCH L 63.7% C 0.215 H 342.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#DC45AF
RGBrgb(220, 69, 175)
HSLhsl(318, 68%, 57%)
HSVhsv(318, 69%, 86%)
CMYKcmyk(0%, 68.6%, 20.5%, 13.7%)
CIE-LABlab(54.63, 68.33, -24.77)
CIE-LCHlch(54.63, 72.68, 340.07°)
OKLaboklab(63.73% 0.2047 -0.0664)
OKLCHoklch(63.73% 0.215 342)
XYZxyz(39.3824, 22.5709, 42.8317)
Luminance0.2257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC45AF #45DC72
analogous
#BE45DC #DC45AF #DC4564
triadic
#DC45AF #AFDC45 #45AFDC
tetradic
#DC45AF #DCBE45 #45DC72 #4564DC
square
#DC45AF #DCBE45 #45DC72 #4564DC
split-complementary
#DC45AF #64DC45 #45DCBE
monochromatic
#8C1A6A #C02491 #DC45AF #E679C5 #EFACDB

Accessibility & contrast

On white

3.81
#DC45AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#DC45AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC45AF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC45AF#FFFFFF#000000##000000
##DC45AF1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5273B2
Deuteranopia (green-blind)
#808CAB
Tritanopia (blue-blind)
#E94774
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #dc45af;
/* rgb */ color: rgb(220, 69, 175);
/* oklch */ color: oklch(63.7% 0.215 342.0);
Tailwind
colors: {
  custom: {
    50: '#eb84c7',
    500: '#dc45af',
    950: '#000000',
  },
}
SCSS
$custom: #dc45af;
$custom-light: #eb84c7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc45af",
  "rgb": {
    "r": 220,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 317.881,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63726,
    "c": 0.21521,
    "h": 342
  },
  "luminance": 0.22567
}

Semantic roles & 50–950 ramp

primary
#DC45AF
secondary
#A0DDB2
accent
#EB713D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DC45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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