#D15271#D15271

#D15271 is a mid, vivid red. Relative luminance 0.208; OKLCH L 61.3% C 0.162 H 8.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#D15271
RGBrgb(209, 82, 113)
HSLhsl(345, 58%, 57%)
HSVhsv(345, 61%, 82%)
CMYKcmyk(0%, 60.8%, 45.9%, 18%)
CIE-LABlab(52.71, 52.72, 8.85)
CIE-LCHlch(52.71, 53.45, 9.53°)
OKLaboklab(61.31% 0.1603 0.0231)
OKLCHoklch(61.31% 0.162 8.2)
XYZxyz(32.2948, 20.7860, 17.9310)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D15271 #52D1B2
analogous
#D152B1 #D15271 #D17252
triadic
#D15271 #71D152 #5271D1
tetradic
#D15271 #B1D152 #52D1B2 #7252D1
square
#D15271 #B1D152 #52D1B2 #7252D1
split-complementary
#D15271 #52D172 #52B1D1
monochromatic
#85233B #B63051 #D15271 #DE8299 #EBB3C0

Accessibility & contrast

On white

4.07
#D15271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#D15271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D15271
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D15271#FFFFFF#000000##000000
##D152711.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D6E72
Deuteranopia (green-blind)
#8E876E
Tritanopia (blue-blind)
#E3415E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d15271;
/* rgb */ color: rgb(209, 82, 113);
/* oklch */ color: oklch(61.3% 0.162 8.2);
Tailwind
colors: {
  custom: {
    50: '#e48899',
    500: '#d15271',
    950: '#000000',
  },
}
SCSS
$custom: #d15271;
$custom-light: #e48899;
$custom-dark: #000000;
JSON
{
  "hex": "#d15271",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 345.354,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61305,
    "c": 0.16191,
    "h": 8.2
  },
  "luminance": 0.20782
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D15271

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

Preview Lab → · Contrast checker → · Palette generator →

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