#DC5271#DC5271

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

Color values

HEX#DC5271
RGBrgb(220, 82, 113)
HSLhsl(347, 66%, 59%)
HSVhsv(347, 63%, 86%)
CMYKcmyk(0%, 62.7%, 48.6%, 13.7%)
CIE-LABlab(54.50, 56.26, 11.62)
CIE-LCHlch(54.50, 57.45, 11.66°)
OKLaboklab(62.98% 0.1707 0.0299)
OKLCHoklch(62.98% 0.173 9.9)
XYZxyz(35.5159, 22.4469, 18.0820)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5271 #52DCBD
analogous
#DC52B6 #DC5271 #DC7852
triadic
#DC5271 #71DC52 #5271DC
tetradic
#DC5271 #B6DC52 #52DCBD #7852DC
square
#DC5271 #B6DC52 #52DCBD #7852DC
split-complementary
#DC5271 #52DC78 #52B6DC
monochromatic
#951E39 #C8294C #DC5271 #E6859B #F1B8C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC5271#FFFFFF#000000##000000
##DC52711.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#717172
Deuteranopia (green-blind)
#948D6E
Tritanopia (blue-blind)
#EF3D5E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #dc5271;
/* rgb */ color: rgb(220, 82, 113);
/* oklch */ color: oklch(63.0% 0.173 9.9);
Tailwind
colors: {
  custom: {
    50: '#ec8999',
    500: '#dc5271',
    950: '#000000',
  },
}
SCSS
$custom: #dc5271;
$custom-light: #ec8999;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5271",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 346.522,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62979,
    "c": 0.17331,
    "h": 9.9
  },
  "luminance": 0.22442
}

Semantic roles & 50–950 ramp

primary
#DC5271
secondary
#AAE0D4
accent
#E9C33F
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#170C0D
muted
#857D7E

Preview Lab

Preview with #DC5271

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

Preview Lab → · Contrast checker → · Palette generator →

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