#D85271#D85271

#D85271 is a light, vivid red. Relative luminance 0.218; OKLCH L 62.4% C 0.169 H 9.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#D85271
RGBrgb(216, 82, 113)
HSLhsl(346, 63%, 58%)
HSVhsv(346, 62%, 85%)
CMYKcmyk(0%, 62%, 47.7%, 15.3%)
CIE-LABlab(53.85, 54.98, 10.61)
CIE-LCHlch(53.85, 56.00, 10.92°)
OKLaboklab(62.37% 0.1669 0.0274)
OKLCHoklch(62.37% 0.169 9.3)
XYZxyz(34.3195, 21.8300, 18.0259)
Luminance0.2183 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D85271 #52D8B9
analogous
#D852B4 #D85271 #D87652
triadic
#D85271 #71D852 #5271D8
tetradic
#D85271 #B4D852 #52D8B9 #7652D8
square
#D85271 #B4D852 #52D8B9 #7652D8
split-complementary
#D85271 #52D876 #52B4D8
monochromatic
#8F203A #C12C4E #D85271 #E3849A #EFB6C3

Accessibility & contrast

On white

3.91
#D85271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#D85271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D85271
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D85271#FFFFFF#000000##000000
##D852711.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7072
Deuteranopia (green-blind)
#928B6E
Tritanopia (blue-blind)
#EA3F5E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d85271;
/* rgb */ color: rgb(216, 82, 113);
/* oklch */ color: oklch(62.4% 0.169 9.3);
Tailwind
colors: {
  custom: {
    50: '#e98999',
    500: '#d85271',
    950: '#000000',
  },
}
SCSS
$custom: #d85271;
$custom-light: #e98999;
$custom-dark: #000000;
JSON
{
  "hex": "#d85271",
  "rgb": {
    "r": 216,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 346.119,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62368,
    "c": 0.16919,
    "h": 9.3
  },
  "luminance": 0.21826
}

Semantic roles & 50–950 ramp

primary
#D85271
secondary
#A8DDD1
accent
#E6C042
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0D
muted
#857D7E

Preview Lab

Preview with #D85271

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

Preview Lab → · Contrast checker → · Palette generator →

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