#DF7871#DF7871

#DF7871 is a light, vivid red. Relative luminance 0.303; OKLCH L 68.7% C 0.129 H 25.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#DF7871
RGBrgb(223, 120, 113)
HSLhsl(4, 63%, 66%)
HSVhsv(4, 49%, 87%)
CMYKcmyk(0%, 46.2%, 49.3%, 12.5%)
CIE-LABlab(61.93, 39.21, 21.90)
CIE-LCHlch(61.93, 44.91, 29.18°)
OKLaboklab(68.67% 0.1171 0.0547)
OKLCHoklch(68.67% 0.129 25)
XYZxyz(40.1312, 30.3172, 19.3579)
Luminance0.3031 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7871 #71D8DF
analogous
#DF71A1 #DF7871 #DFAF71
triadic
#DF7871 #71DF78 #7871DF
tetradic
#DF7871 #A1DF71 #71D8DF #AF71DF
square
#DF7871 #A1DF71 #71D8DF #AF71DF
split-complementary
#DF7871 #71DFAF #71A1DF
monochromatic
#AE3027 #D4493F #DF7871 #EAA7A3 #F6D7D5

Accessibility & contrast

On white

2.97
#DF7871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#DF7871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7871
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7871#FFFFFF#000000##000000
##DF78711.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8970
Deuteranopia (green-blind)
#A99E6F
Tritanopia (blue-blind)
#F16977
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #df7871;
/* rgb */ color: rgb(223, 120, 113);
/* oklch */ color: oklch(68.7% 0.129 25.0);
Tailwind
colors: {
  custom: {
    50: '#eda199',
    500: '#df7871',
    950: '#000000',
  },
}
SCSS
$custom: #df7871;
$custom-light: #eda199;
$custom-dark: #000000;
JSON
{
  "hex": "#df7871",
  "rgb": {
    "r": 223,
    "g": 120,
    "b": 113
  },
  "hsl": {
    "h": 3.818,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68673,
    "c": 0.12925,
    "h": 25
  },
  "luminance": 0.30313
}

Semantic roles & 50–950 ramp

primary
#DF7871
secondary
#C4E6E8
accent
#C0CB1B
background
#FFFAF9
surface
#FEF3F2
border
#D6CDCC
text
#170F0E
muted
#857F7E

Preview Lab

Preview with #DF7871

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

Preview Lab → · Contrast checker → · Palette generator →

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