#D54062#D54062

#D54062 is a mid, vivid red. Relative luminance 0.187; OKLCH L 59.5% C 0.185 H 11.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#D54062
RGBrgb(213, 64, 98)
HSLhsl(346, 64%, 54%)
HSVhsv(346, 70%, 84%)
CMYKcmyk(0%, 70%, 54%, 16.5%)
CIE-LABlab(50.33, 60.03, 14.63)
CIE-LCHlch(50.33, 61.78, 13.70°)
OKLaboklab(59.54% 0.1816 0.0369)
OKLCHoklch(59.54% 0.185 11.5)
XYZxyz(31.4814, 18.6991, 13.5044)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54062 #40D5B3
analogous
#D540AC #D54062 #D56940
triadic
#D54062 #62D540 #4062D5
tetradic
#D54062 #ACD540 #40D5B3 #6940D5
square
#D54062 #ACD540 #40D5B3 #6940D5
split-complementary
#D54062 #40D569 #40ACD5
monochromatic
#7F1C32 #B12746 #D54062 #E0728B #EBA4B4

Accessibility & contrast

On white

4.43
#D54062 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#D54062 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54062
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54062#FFFFFF#000000##000000
##D540621.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#656462
Deuteranopia (green-blind)
#8C835E
Tritanopia (blue-blind)
#E81F4E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d54062;
/* rgb */ color: rgb(213, 64, 98);
/* oklch */ color: oklch(59.5% 0.185 11.5);
Tailwind
colors: {
  custom: {
    50: '#e87f8e',
    500: '#d54062',
    950: '#000000',
  },
}
SCSS
$custom: #d54062;
$custom-light: #e87f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d54062",
  "rgb": {
    "r": 213,
    "g": 64,
    "b": 98
  },
  "hsl": {
    "h": 346.309,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59542,
    "c": 0.18535,
    "h": 11.5
  },
  "luminance": 0.18695
}

Semantic roles & 50–950 ramp

primary
#D54062
secondary
#99D8CA
accent
#E7C141
background
#FFF8F8
surface
#FEEFF0
border
#D6CACB
text
#170B0C
muted
#857C7D

Preview Lab

Preview with #D54062

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

Preview Lab → · Contrast checker → · Palette generator →

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