#DF2AA7#DF2AA7

#DF2AA7 is a mid, highly saturated pink. Relative luminance 0.201; OKLCH L 61.8% C 0.239 H 344.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#DF2AA7
RGBrgb(223, 42, 167)
HSLhsl(319, 74%, 52%)
HSVhsv(319, 81%, 87%)
CMYKcmyk(0%, 81.2%, 25.1%, 12.5%)
CIE-LABlab(51.99, 76.03, -24.11)
CIE-LCHlch(51.99, 79.76, 342.41°)
OKLaboklab(61.8% 0.2306 -0.0643)
OKLCHoklch(61.8% 0.239 344.4)
XYZxyz(38.2361, 20.1382, 38.4252)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF2AA7 #2ADF62
analogous
#BD2ADF #DF2AA7 #DF2A4C
triadic
#DF2AA7 #A7DF2A #2AA7DF
tetradic
#DF2AA7 #DFBD2A #2ADF62 #2A4CDF
square
#DF2AA7 #DFBD2A #2ADF62 #2A4CDF
split-complementary
#DF2AA7 #4CDF2A #2ADFBD
monochromatic
#7C135B #B11B83 #DF2AA7 #E75FBD #EF94D3

Accessibility & contrast

On white

4.18
#DF2AA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#DF2AA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF2AA7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF2AA7#FFFFFF#000000##000000
##DF2AA71.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4469AA
Deuteranopia (green-blind)
#7C87A3
Tritanopia (blue-blind)
#EE2767
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #df2aa7;
/* rgb */ color: rgb(223, 42, 167);
/* oklch */ color: oklch(61.8% 0.239 344.4);
Tailwind
colors: {
  custom: {
    50: '#ee7ac1',
    500: '#df2aa7',
    950: '#000000',
  },
}
SCSS
$custom: #df2aa7;
$custom-light: #ee7ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#df2aa7",
  "rgb": {
    "r": 223,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 318.564,
    "s": 73.878,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61803,
    "c": 0.23941,
    "h": 344.4
  },
  "luminance": 0.20134
}

Semantic roles & 50–950 ramp

primary
#DF2AA7
secondary
#8BDAA3
accent
#F17137
background
#FFF8FB
surface
#FFEFF7
border
#D7CAD0
text
#170B12
muted
#857C81

Preview Lab

Preview with #DF2AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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