#DF7271#DF7271

#DF7271 is a light, vivid red. Relative luminance 0.289; OKLCH L 67.7% C 0.136 H 21.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#DF7271
RGBrgb(223, 114, 113)
HSLhsl(1, 63%, 66%)
HSVhsv(1, 49%, 87%)
CMYKcmyk(0%, 48.9%, 49.3%, 12.5%)
CIE-LABlab(60.71, 42.27, 20.25)
CIE-LCHlch(60.71, 46.87, 25.60°)
OKLaboklab(67.75% 0.1266 0.0508)
OKLCHoklch(67.75% 0.136 21.9)
XYZxyz(39.4321, 28.9190, 19.1249)
Luminance0.2892 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7271 #71DEDF
analogous
#DF71A7 #DF7271 #DFA971
triadic
#DF7271 #71DF72 #7271DF
tetradic
#DF7271 #A7DF71 #71DEDF #A971DF
square
#DF7271 #A7DF71 #71DEDF #A971DF
split-complementary
#DF7271 #71DFA9 #71A7DF
monochromatic
#AE2927 #D4403F #DF7271 #EAA4A3 #F6D5D5

Accessibility & contrast

On white

3.10
#DF7271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#DF7271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF7271
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7271#FFFFFF#000000##000000
##DF72711.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8570
Deuteranopia (green-blind)
#A59B6F
Tritanopia (blue-blind)
#F26273
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #df7271;
/* rgb */ color: rgb(223, 114, 113);
/* oklch */ color: oklch(67.7% 0.136 21.9);
Tailwind
colors: {
  custom: {
    50: '#ed9d99',
    500: '#df7271',
    950: '#000000',
  },
}
SCSS
$custom: #df7271;
$custom-light: #ed9d99;
$custom-dark: #000000;
JSON
{
  "hex": "#df7271",
  "rgb": {
    "r": 223,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 0.545,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67748,
    "c": 0.13637,
    "h": 21.9
  },
  "luminance": 0.28915
}

Semantic roles & 50–950 ramp

primary
#DF7271
secondary
#C4E8E8
accent
#C9CB1B
background
#FFF9F9
surface
#FEF2F2
border
#D6CCCC
text
#170E0E
muted
#857E7E

Preview Lab

Preview with #DF7271

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

Preview Lab → · Contrast checker → · Palette generator →

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