#DF5252#DF5252

#DF5252 is a light, vivid red. Relative luminance 0.223; OKLCH L 62.8% C 0.177 H 23.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#DF5252
RGBrgb(223, 82, 82)
HSLhsl(0, 69%, 60%)
HSVhsv(0, 63%, 87%)
CMYKcmyk(0%, 63.2%, 63.2%, 12.5%)
CIE-LABlab(54.38, 54.93, 29.78)
CIE-LCHlch(54.38, 62.48, 28.46°)
OKLaboklab(62.79% 0.1616 0.0709)
OKLCHoklch(62.79% 0.177 23.7)
XYZxyz(34.9751, 22.3365, 10.4507)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5252 #52DFDF
analogous
#DF5299 #DF5252 #DF9952
triadic
#DF5252 #52DF52 #5252DF
tetradic
#DF5252 #99DF52 #52DFDF #9952DF
square
#DF5252 #99DF52 #52DFDF #9952DF
split-complementary
#DF5252 #52DF99 #5299DF
monochromatic
#9A1D1D #CE2626 #DF5252 #E98686 #F2B9B9

Accessibility & contrast

On white

3.84
#DF5252 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#DF5252 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5252
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5252#FFFFFF#000000##000000
##DF52521.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#776F51
Deuteranopia (green-blind)
#9A8D4E
Tritanopia (blue-blind)
#F43353
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #df5252;
/* rgb */ color: rgb(223, 82, 82);
/* oklch */ color: oklch(62.8% 0.177 23.7);
Tailwind
colors: {
  custom: {
    50: '#f08982',
    500: '#df5252',
    950: '#000000',
  },
}
SCSS
$custom: #df5252;
$custom-light: #f08982;
$custom-dark: #000000;
JSON
{
  "hex": "#df5252",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 82
  },
  "hsl": {
    "h": 0,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62788,
    "c": 0.17653,
    "h": 23.7
  },
  "luminance": 0.22332
}

Semantic roles & 50–950 ramp

primary
#DF5252
secondary
#ABE2E2
accent
#ECEC3C
background
#FFF8F8
surface
#FFF0EF
border
#D7CBCA
text
#180C0A
muted
#867D7C

Preview Lab

Preview with #DF5252

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

Preview Lab → · Contrast checker → · Palette generator →

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