#DF5342#DF5342

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

Color values

HEX#DF5342
RGBrgb(223, 83, 66)
HSLhsl(6, 71%, 57%)
HSVhsv(6, 70%, 87%)
CMYKcmyk(0%, 62.8%, 70.4%, 12.5%)
CIE-LABlab(54.32, 53.63, 38.76)
CIE-LCHlch(54.32, 66.17, 35.86°)
OKLaboklab(62.67% 0.1545 0.0886)
OKLCHoklch(62.67% 0.178 29.8)
XYZxyz(34.5117, 22.2727, 7.6350)
Luminance0.2227 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5342 #42CEDF
analogous
#DF4280 #DF5342 #DFA242
triadic
#DF5342 #42DF53 #5342DF
tetradic
#DF5342 #80DF42 #42CEDF #A242DF
square
#DF5342 #80DF42 #42CEDF #A242DF
split-complementary
#DF5342 #42DFA2 #4280DF
monochromatic
#8E2518 #C33321 #DF5342 #E88376 #F1B2AB

Accessibility & contrast

On white

3.85
#DF5342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#DF5342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5342
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5342#FFFFFF#000000##000000
##DF53421.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#796F3F
Deuteranopia (green-blind)
#9C8D3E
Tritanopia (blue-blind)
#F53150
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #df5342;
/* rgb */ color: rgb(223, 83, 66);
/* oklch */ color: oklch(62.7% 0.178 29.8);
Tailwind
colors: {
  custom: {
    50: '#f18977',
    500: '#df5342',
    950: '#000000',
  },
}
SCSS
$custom: #df5342;
$custom-light: #f18977;
$custom-dark: #000000;
JSON
{
  "hex": "#df5342",
  "rgb": {
    "r": 223,
    "g": 83,
    "b": 66
  },
  "hsl": {
    "h": 6.497,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62665,
    "c": 0.17808,
    "h": 29.8
  },
  "luminance": 0.22268
}

Semantic roles & 50–950 ramp

primary
#DF5342
secondary
#9ED8DF
accent
#DAEE3A
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180C08
muted
#867D7B

Preview Lab

Preview with #DF5342

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

Preview Lab → · Contrast checker → · Palette generator →

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