#D54271#D54271

#D54271 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.1% C 0.186 H 5.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#D54271
RGBrgb(213, 66, 113)
HSLhsl(341, 64%, 55%)
HSVhsv(341, 69%, 84%)
CMYKcmyk(0%, 69%, 46.9%, 16.5%)
CIE-LABlab(50.97, 60.53, 6.45)
CIE-LCHlch(50.97, 60.88, 6.08°)
OKLaboklab(60.13% 0.1848 0.0171)
OKLCHoklch(60.13% 0.186 5.3)
XYZxyz(32.3720, 19.2390, 17.6284)
Luminance0.1923 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54271 #42D5A6
analogous
#D542BB #D54271 #D55C42
triadic
#D54271 #71D542 #4271D5
tetradic
#D54271 #BBD542 #42D5A6 #5C42D5
square
#D54271 #BBD542 #42D5A6 #5C42D5
split-complementary
#D54271 #42D55C #42BBD5
monochromatic
#801C3C #B22854 #D54271 #E07497 #EBA6BC

Accessibility & contrast

On white

4.33
#D54271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#D54271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54271
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54271#FFFFFF#000000##000000
##D542711.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#636772
Deuteranopia (green-blind)
#8A846E
Tritanopia (blue-blind)
#E72A55
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d54271;
/* rgb */ color: rgb(213, 66, 113);
/* oklch */ color: oklch(60.1% 0.186 5.3);
Tailwind
colors: {
  custom: {
    50: '#e88099',
    500: '#d54271',
    950: '#000000',
  },
}
SCSS
$custom: #d54271;
$custom-light: #e88099;
$custom-dark: #000000;
JSON
{
  "hex": "#d54271",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 340.816,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.6013,
    "c": 0.18561,
    "h": 5.3
  },
  "luminance": 0.19235
}

Semantic roles & 50–950 ramp

primary
#D54271
secondary
#9AD8C5
accent
#E7B241
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #D54271

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

Preview Lab → · Contrast checker → · Palette generator →

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