#DF5257#DF5257

#DF5257 is a light, vivid red. Relative luminance 0.224; OKLCH L 62.9% C 0.176 H 21.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#DF5257
RGBrgb(223, 82, 87)
HSLhsl(358, 69%, 60%)
HSVhsv(358, 63%, 87%)
CMYKcmyk(0%, 63.2%, 61%, 12.5%)
CIE-LABlab(54.47, 55.24, 26.98)
CIE-LCHlch(54.47, 61.48, 26.03°)
OKLaboklab(62.88% 0.1636 0.0651)
OKLCHoklch(62.88% 0.176 21.7)
XYZxyz(35.1724, 22.4154, 11.4895)
Luminance0.2241 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5257 #52DFDA
analogous
#DF529E #DF5257 #DF9352
triadic
#DF5257 #57DF52 #5257DF
tetradic
#DF5257 #9EDF52 #52DFDA #9352DF
square
#DF5257 #9EDF52 #52DFDA #9352DF
split-complementary
#DF5257 #52DF93 #529EDF
monochromatic
#9A1D21 #CE262C #DF5257 #E98689 #F2B9BB

Accessibility & contrast

On white

3.83
#DF5257 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#DF5257 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5257
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5257#FFFFFF#000000##000000
##DF52571.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#766F56
Deuteranopia (green-blind)
#9A8D53
Tritanopia (blue-blind)
#F43455
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #df5257;
/* rgb */ color: rgb(223, 82, 87);
/* oklch */ color: oklch(62.9% 0.176 21.7);
Tailwind
colors: {
  custom: {
    50: '#f08986',
    500: '#df5257',
    950: '#000000',
  },
}
SCSS
$custom: #df5257;
$custom-light: #f08986;
$custom-dark: #000000;
JSON
{
  "hex": "#df5257",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 87
  },
  "hsl": {
    "h": 357.872,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62877,
    "c": 0.17602,
    "h": 21.7
  },
  "luminance": 0.22411
}

Semantic roles & 50–950 ramp

primary
#DF5257
secondary
#ABE2E0
accent
#ECE53C
background
#FFF8F8
surface
#FFF0EF
border
#D7CBCA
text
#180C0B
muted
#867D7C

Preview Lab

Preview with #DF5257

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

Preview Lab → · Contrast checker → · Palette generator →

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