#D05271#D05271

#D05271 is a mid, vivid red. Relative luminance 0.206; OKLCH L 61.2% C 0.161 H 8.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#D05271
RGBrgb(208, 82, 113)
HSLhsl(345, 57%, 57%)
HSVhsv(345, 61%, 82%)
CMYKcmyk(0%, 60.6%, 45.7%, 18.4%)
CIE-LABlab(52.55, 52.39, 8.60)
CIE-LCHlch(52.55, 53.09, 9.32°)
OKLaboklab(61.15% 0.1593 0.0225)
OKLCHoklch(61.15% 0.161 8)
XYZxyz(32.0127, 20.6405, 17.9178)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D05271 #52D0B1
analogous
#D052B0 #D05271 #D07252
triadic
#D05271 #71D052 #5271D0
tetradic
#D05271 #B0D052 #52D0B1 #7252D0
square
#D05271 #B0D052 #52D0B1 #7252D0
split-complementary
#D05271 #52D072 #52B0D0
monochromatic
#84243B #B43151 #D05271 #DD8299 #EAB2C0

Accessibility & contrast

On white

4.10
#D05271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#D05271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D05271
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D05271#FFFFFF#000000##000000
##D052711.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C6E72
Deuteranopia (green-blind)
#8D876E
Tritanopia (blue-blind)
#E1415E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d05271;
/* rgb */ color: rgb(208, 82, 113);
/* oklch */ color: oklch(61.2% 0.161 8.0);
Tailwind
colors: {
  custom: {
    50: '#e38899',
    500: '#d05271',
    950: '#000000',
  },
}
SCSS
$custom: #d05271;
$custom-light: #e38899;
$custom-dark: #000000;
JSON
{
  "hex": "#d05271",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 345.238,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61153,
    "c": 0.16086,
    "h": 8
  },
  "luminance": 0.20637
}

Semantic roles & 50–950 ramp

primary
#D05271
secondary
#A5D9CC
accent
#E1BB47
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0D
muted
#847D7E

Preview Lab

Preview with #D05271

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

Preview Lab → · Contrast checker → · Palette generator →

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