#DE7871#DE7871

#DE7871 is a light, vivid red. Relative luminance 0.302; OKLCH L 68.5% C 0.128 H 25.1°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#DE7871
RGBrgb(222, 120, 113)
HSLhsl(4, 62%, 66%)
HSVhsv(4, 49%, 87%)
CMYKcmyk(0%, 45.9%, 49.1%, 12.9%)
CIE-LABlab(61.79, 38.84, 21.69)
CIE-LCHlch(61.79, 44.48, 29.18°)
OKLaboklab(68.54% 0.116 0.0542)
OKLCHoklch(68.54% 0.128 25.1)
XYZxyz(39.8239, 30.1588, 19.3435)
Luminance0.3015 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7871 #71D7DE
analogous
#DE71A0 #DE7871 #DEAE71
triadic
#DE7871 #71DE78 #7871DE
tetradic
#DE7871 #A0DE71 #71D7DE #AE71DE
square
#DE7871 #A0DE71 #71D7DE #AE71DE
split-complementary
#DE7871 #71DEAE #71A0DE
monochromatic
#AD3128 #D2493F #DE7871 #EAA7A3 #F5D6D4

Accessibility & contrast

On white

2.99
#DE7871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#DE7871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7871
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7871#FFFFFF#000000##000000
##DE78711.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8870
Deuteranopia (green-blind)
#A89D6F
Tritanopia (blue-blind)
#F06977
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #de7871;
/* rgb */ color: rgb(222, 120, 113);
/* oklch */ color: oklch(68.5% 0.128 25.1);
Tailwind
colors: {
  custom: {
    50: '#eca199',
    500: '#de7871',
    950: '#000000',
  },
}
SCSS
$custom: #de7871;
$custom-light: #eca199;
$custom-dark: #000000;
JSON
{
  "hex": "#de7871",
  "rgb": {
    "r": 222,
    "g": 120,
    "b": 113
  },
  "hsl": {
    "h": 3.853,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68542,
    "c": 0.12806,
    "h": 25.1
  },
  "luminance": 0.30155
}

Semantic roles & 50–950 ramp

primary
#DE7871
secondary
#C3E5E8
accent
#BFCA1B
background
#FFFAF9
surface
#FEF3F2
border
#D6CDCC
text
#170F0E
muted
#857F7E

Preview Lab

Preview with #DE7871

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

Preview Lab → · Contrast checker → · Palette generator →

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