#D64271#D64271

#D64271 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.3% C 0.187 H 5.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#D64271
RGBrgb(214, 66, 113)
HSLhsl(341, 64%, 55%)
HSVhsv(341, 69%, 84%)
CMYKcmyk(0%, 69.2%, 47.2%, 16.1%)
CIE-LABlab(51.14, 60.83, 6.72)
CIE-LCHlch(51.14, 61.20, 6.31°)
OKLaboklab(60.29% 0.1857 0.0178)
OKLCHoklch(60.29% 0.187 5.5)
XYZxyz(32.6630, 19.3891, 17.6420)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D64271 #42D6A7
analogous
#D642BB #D64271 #D65D42
triadic
#D64271 #71D642 #4271D6
tetradic
#D64271 #BBD642 #42D6A7 #5D42D6
square
#D64271 #BBD642 #42D6A7 #5D42D6
split-complementary
#D64271 #42D65D #42BBD6
monochromatic
#821C3C #B42754 #D64271 #E17497 #ECA7BD

Accessibility & contrast

On white

4.31
#D64271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#D64271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D64271
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D64271#FFFFFF#000000##000000
##D642711.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#636772
Deuteranopia (green-blind)
#8B856D
Tritanopia (blue-blind)
#E82955
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d64271;
/* rgb */ color: rgb(214, 66, 113);
/* oklch */ color: oklch(60.3% 0.187 5.5);
Tailwind
colors: {
  custom: {
    50: '#e88099',
    500: '#d64271',
    950: '#000000',
  },
}
SCSS
$custom: #d64271;
$custom-light: #e88099;
$custom-dark: #000000;
JSON
{
  "hex": "#d64271",
  "rgb": {
    "r": 214,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 340.946,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60291,
    "c": 0.18654,
    "h": 5.5
  },
  "luminance": 0.19385
}

Semantic roles & 50–950 ramp

primary
#D64271
secondary
#9BD9C5
accent
#E7B240
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #D64271

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

Preview Lab → · Contrast checker → · Palette generator →

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