#D54D6B#D54D6B

#D54D6B is a mid, vivid red. Relative luminance 0.205; OKLCH L 61.2% C 0.171 H 10.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#D54D6B
RGBrgb(213, 77, 107)
HSLhsl(347, 62%, 57%)
HSVhsv(347, 64%, 84%)
CMYKcmyk(0%, 63.8%, 49.8%, 16.5%)
CIE-LABlab(52.42, 55.62, 12.11)
CIE-LCHlch(52.42, 56.93, 12.28°)
OKLaboklab(61.16% 0.1687 0.031)
OKLCHoklch(61.16% 0.171 10.4)
XYZxyz(32.7509, 20.5196, 16.1431)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54D6B #4DD5B7
analogous
#D54DAF #D54D6B #D5734D
triadic
#D54D6B #6BD54D #4D6BD5
tetradic
#D54D6B #AFD54D #4DD5B7 #734DD5
square
#D54D6B #AFD54D #4DD5B7 #734DD5
split-complementary
#D54D6B #4DD573 #4DAFD5
monochromatic
#882037 #B92C4B #D54D6B #E17F94 #ECB0BD

Accessibility & contrast

On white

4.12
#D54D6B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#D54D6B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54D6B
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54D6B#FFFFFF#000000##000000
##D54D6B1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C6C6C
Deuteranopia (green-blind)
#8F8768
Tritanopia (blue-blind)
#E83759
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d54d6b;
/* rgb */ color: rgb(213, 77, 107);
/* oklch */ color: oklch(61.2% 0.171 10.4);
Tailwind
colors: {
  custom: {
    50: '#e78695',
    500: '#d54d6b',
    950: '#000000',
  },
}
SCSS
$custom: #d54d6b;
$custom-light: #e78695;
$custom-dark: #000000;
JSON
{
  "hex": "#d54d6b",
  "rgb": {
    "r": 213,
    "g": 77,
    "b": 107
  },
  "hsl": {
    "h": 346.765,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61162,
    "c": 0.17148,
    "h": 10.4
  },
  "luminance": 0.20515
}

Semantic roles & 50–950 ramp

primary
#D54D6B
secondary
#A3DBCE
accent
#E5C143
background
#FEF8F9
surface
#FDF0F1
border
#D5CBCB
text
#170C0D
muted
#857D7E

Preview Lab

Preview with #D54D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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