#DF5262#DF5262

#DF5262 is a light, vivid red. Relative luminance 0.226; OKLCH L 63.1% C 0.175 H 17.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#DF5262
RGBrgb(223, 82, 98)
HSLhsl(353, 69%, 60%)
HSVhsv(353, 63%, 87%)
CMYKcmyk(0%, 63.2%, 56.1%, 12.5%)
CIE-LABlab(54.67, 56.01, 20.80)
CIE-LCHlch(54.67, 59.75, 20.37°)
OKLaboklab(63.09% 0.1678 0.0515)
OKLCHoklch(63.09% 0.176 17.1)
XYZxyz(35.6565, 22.6091, 14.0393)
Luminance0.2260 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5262 #52DFCF
analogous
#DF52A9 #DF5262 #DF8852
triadic
#DF5262 #62DF52 #5262DF
tetradic
#DF5262 #A9DF52 #52DFCF #8852DF
square
#DF5262 #A9DF52 #52DFCF #8852DF
split-complementary
#DF5262 #52DF88 #52A9DF
monochromatic
#9A1D2B #CE2639 #DF5262 #E98691 #F2B9C0

Accessibility & contrast

On white

3.80
#DF5262 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#DF5262 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5262
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5262#FFFFFF#000000##000000
##DF52621.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#747062
Deuteranopia (green-blind)
#988E5F
Tritanopia (blue-blind)
#F33759
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #df5262;
/* rgb */ color: rgb(223, 82, 98);
/* oklch */ color: oklch(63.1% 0.175 17.1);
Tailwind
colors: {
  custom: {
    50: '#ef898e',
    500: '#df5262',
    950: '#000000',
  },
}
SCSS
$custom: #df5262;
$custom-light: #ef898e;
$custom-dark: #000000;
JSON
{
  "hex": "#df5262",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 98
  },
  "hsl": {
    "h": 353.191,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63094,
    "c": 0.1755,
    "h": 17.1
  },
  "luminance": 0.22604
}

Semantic roles & 50–950 ramp

primary
#DF5262
secondary
#ABE2DB
accent
#ECD83C
background
#FFF8F8
surface
#FFF0F0
border
#D7CBCB
text
#180C0C
muted
#867D7D

Preview Lab

Preview with #DF5262

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

Preview Lab → · Contrast checker → · Palette generator →

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