#D271AD#D271AD

#D271AD is a light, vivid pink. Relative luminance 0.285; OKLCH L 67.7% C 0.141 H 343.6°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#D271AD
RGBrgb(210, 113, 173)
HSLhsl(323, 52%, 63%)
HSVhsv(323, 46%, 82%)
CMYKcmyk(0%, 46.2%, 17.6%, 17.6%)
CIE-LABlab(60.37, 45.61, -14.98)
CIE-LCHlch(60.37, 48.01, 341.81°)
OKLaboklab(67.66% 0.1352 -0.0397)
OKLCHoklch(67.66% 0.141 343.6)
XYZxyz(40.0269, 28.5319, 42.9261)
Luminance0.2853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D271AD #71D296
analogous
#C771D2 #D271AD #D2717C
triadic
#D271AD #ADD271 #71ADD2
tetradic
#D271AD #D2C771 #71D296 #717CD2
square
#D271AD #D2C771 #71D296 #717CD2
split-complementary
#D271AD #7CD271 #71D2C7
monochromatic
#983071 #C34392 #D271AD #E19FC8 #EFCEE3

Accessibility & contrast

On white

3.13
#D271AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#D271AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D271AD
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D271AD#FFFFFF#000000##000000
##D271AD1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7888AF
Deuteranopia (green-blind)
#9197AA
Tritanopia (blue-blind)
#DD7187
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d271ad;
/* rgb */ color: rgb(210, 113, 173);
/* oklch */ color: oklch(67.7% 0.141 343.6);
Tailwind
colors: {
  custom: {
    50: '#e29cc5',
    500: '#d271ad',
    950: '#000000',
  },
}
SCSS
$custom: #d271ad;
$custom-light: #e29cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#d271ad",
  "rgb": {
    "r": 210,
    "g": 113,
    "b": 173
  },
  "hsl": {
    "h": 322.887,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67657,
    "c": 0.14094,
    "h": 343.6
  },
  "luminance": 0.28529
}

Semantic roles & 50–950 ramp

primary
#D271AD
secondary
#BEE1CB
accent
#BF6126
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160E13
muted
#847E82

Preview Lab

Preview with #D271AD

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

Preview Lab → · Contrast checker → · Palette generator →

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