#DF2E71#DF2E71

#DF2E71 is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 60.1% C 0.214 H 4.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#DF2E71
RGBrgb(223, 46, 113)
HSLhsl(337, 73%, 53%)
HSVhsv(337, 79%, 87%)
CMYKcmyk(0%, 79.4%, 49.3%, 12.5%)
CIE-LABlab(50.50, 69.66, 6.03)
CIE-LCHlch(50.50, 69.92, 4.94°)
OKLaboklab(60.11% 0.2134 0.016)
OKLCHoklch(60.11% 0.214 4.3)
XYZxyz(34.3921, 18.8391, 17.4449)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF2E71 #2EDF9C
analogous
#DF2ECA #DF2E71 #DF432E
triadic
#DF2E71 #71DF2E #2E71DF
tetradic
#DF2E71 #CADF2E #2EDF9C #432EDF
square
#DF2E71 #CADF2E #2EDF9C #432EDF
split-complementary
#DF2E71 #2EDF43 #2ECADF
monochromatic
#7F133C #B41C55 #DF2E71 #E76395 #EF98B9

Accessibility & contrast

On white

4.41
#DF2E71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#DF2E71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF2E71
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF2E71#FFFFFF#000000##000000
##DF2E711.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6272
Deuteranopia (green-blind)
#8B856D
Tritanopia (blue-blind)
#F3004C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #df2e71;
/* rgb */ color: rgb(223, 46, 113);
/* oklch */ color: oklch(60.1% 0.214 4.3);
Tailwind
colors: {
  custom: {
    50: '#f07999',
    500: '#df2e71',
    950: '#000000',
  },
}
SCSS
$custom: #df2e71;
$custom-light: #f07999;
$custom-dark: #000000;
JSON
{
  "hex": "#df2e71",
  "rgb": {
    "r": 223,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 337.288,
    "s": 73.444,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60115,
    "c": 0.21398,
    "h": 4.3
  },
  "luminance": 0.18834
}

Semantic roles & 50–950 ramp

primary
#DF2E71
secondary
#8EDBBE
accent
#F0AA38
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#180A0D
muted
#867C7E

Preview Lab

Preview with #DF2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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