#DF5162#DF5162

#DF5162 is a light, vivid red. Relative luminance 0.225; OKLCH L 63.0% C 0.177 H 16.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#DF5162
RGBrgb(223, 81, 98)
HSLhsl(353, 69%, 60%)
HSVhsv(353, 64%, 87%)
CMYKcmyk(0%, 63.7%, 56.1%, 12.5%)
CIE-LABlab(54.51, 56.43, 20.59)
CIE-LCHlch(54.51, 60.07, 20.05°)
OKLaboklab(62.98% 0.1691 0.051)
OKLCHoklch(62.98% 0.177 16.8)
XYZxyz(35.5817, 22.4594, 14.0143)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5162 #51DFCE
analogous
#DF51A9 #DF5162 #DF8751
triadic
#DF5162 #62DF51 #5162DF
tetradic
#DF5162 #A9DF51 #51DFCE #8751DF
square
#DF5162 #A9DF51 #51DFCE #8751DF
split-complementary
#DF5162 #51DF87 #51A9DF
monochromatic
#991C2B #CD263A #DF5162 #E98591 #F2B8BF

Accessibility & contrast

On white

3.82
#DF5162 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#DF5162 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5162
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5162#FFFFFF#000000##000000
##DF51621.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#747062
Deuteranopia (green-blind)
#988D5E
Tritanopia (blue-blind)
#F33658
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #df5162;
/* rgb */ color: rgb(223, 81, 98);
/* oklch */ color: oklch(63.0% 0.177 16.8);
Tailwind
colors: {
  custom: {
    50: '#ef898e',
    500: '#df5162',
    950: '#000000',
  },
}
SCSS
$custom: #df5162;
$custom-light: #ef898e;
$custom-dark: #000000;
JSON
{
  "hex": "#df5162",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 98
  },
  "hsl": {
    "h": 352.817,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62977,
    "c": 0.17664,
    "h": 16.8
  },
  "luminance": 0.22455
}

Semantic roles & 50–950 ramp

primary
#DF5162
secondary
#AAE1DB
accent
#ECD73C
background
#FFF8F8
surface
#FFF0F0
border
#D7CBCB
text
#180C0C
muted
#867D7D

Preview Lab

Preview with #DF5162

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

Preview Lab → · Contrast checker → · Palette generator →

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