#DF5271#DF5271

#DF5271 is a light, vivid red. Relative luminance 0.229; OKLCH L 63.4% C 0.176 H 10.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#DF5271
RGBrgb(223, 82, 113)
HSLhsl(347, 69%, 60%)
HSVhsv(347, 63%, 87%)
CMYKcmyk(0%, 63.2%, 49.3%, 12.5%)
CIE-LABlab(54.99, 57.22, 12.38)
CIE-LCHlch(54.99, 58.54, 12.20°)
OKLaboklab(63.44% 0.1735 0.0318)
OKLCHoklch(63.44% 0.176 10.4)
XYZxyz(36.4323, 22.9194, 18.1249)
Luminance0.2291 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5271 #52DFC0
analogous
#DF52B7 #DF5271 #DF7A52
triadic
#DF5271 #71DF52 #5271DF
tetradic
#DF5271 #B7DF52 #52DFC0 #7A52DF
square
#DF5271 #B7DF52 #52DFC0 #7A52DF
split-complementary
#DF5271 #52DF7A #52B7DF
monochromatic
#9A1D38 #CE264B #DF5271 #E9869B #F2B9C6

Accessibility & contrast

On white

3.76
#DF5271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#DF5271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5271
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5271#FFFFFF#000000##000000
##DF52711.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#727272
Deuteranopia (green-blind)
#968E6E
Tritanopia (blue-blind)
#F23C5E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #df5271;
/* rgb */ color: rgb(223, 82, 113);
/* oklch */ color: oklch(63.4% 0.176 10.4);
Tailwind
colors: {
  custom: {
    50: '#ef8a99',
    500: '#df5271',
    950: '#000000',
  },
}
SCSS
$custom: #df5271;
$custom-light: #ef8a99;
$custom-dark: #000000;
JSON
{
  "hex": "#df5271",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 346.809,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6344,
    "c": 0.17638,
    "h": 10.4
  },
  "luminance": 0.22915
}

Semantic roles & 50–950 ramp

primary
#DF5271
secondary
#ABE2D6
accent
#ECC53C
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#170C0D
muted
#857D7E

Preview Lab

Preview with #DF5271

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

Preview Lab → · Contrast checker → · Palette generator →

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