#DF5152#DF5152

#DF5152 is a light, vivid red. Relative luminance 0.222; OKLCH L 62.7% C 0.178 H 23.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#DF5152
RGBrgb(223, 81, 82)
HSLhsl(360, 69%, 60%)
HSVhsv(360, 64%, 87%)
CMYKcmyk(0%, 63.7%, 63.2%, 12.5%)
CIE-LABlab(54.22, 55.35, 29.58)
CIE-LCHlch(54.22, 62.76, 28.12°)
OKLaboklab(62.67% 0.163 0.0705)
OKLCHoklch(62.67% 0.178 23.4)
XYZxyz(34.9003, 22.1868, 10.4257)
Luminance0.2218 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5152 #51DFDE
analogous
#DF5199 #DF5152 #DF9751
triadic
#DF5152 #52DF51 #5152DF
tetradic
#DF5152 #99DF51 #51DFDE #9751DF
square
#DF5152 #99DF51 #51DFDE #9751DF
split-complementary
#DF5152 #51DF97 #5199DF
monochromatic
#991C1D #CD2627 #DF5152 #E98585 #F2B8B9

Accessibility & contrast

On white

3.86
#DF5152 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#DF5152 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5152
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5152#FFFFFF#000000##000000
##DF51521.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df5152;
/* rgb */ color: rgb(223, 81, 82);
/* oklch */ color: oklch(62.7% 0.178 23.4);
Tailwind
colors: {
  custom: {
    50: '#f08882',
    500: '#df5152',
    950: '#000000',
  },
}
SCSS
$custom: #df5152;
$custom-light: #f08882;
$custom-dark: #000000;
JSON
{
  "hex": "#df5152",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 82
  },
  "hsl": {
    "h": 359.577,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6267,
    "c": 0.17758,
    "h": 23.4
  },
  "luminance": 0.22182
}

Semantic roles & 50–950 ramp

primary
#DF5152
secondary
#AAE1E1
accent
#ECEB3C
background
#FFF8F8
surface
#FFF0EF
border
#D7CBCA
text
#180C0A
muted
#867D7C

Preview Lab

Preview with #DF5152

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

Preview Lab → · Contrast checker → · Palette generator →

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