#D271AE#D271AE

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

Color values

HEX#D271AE
RGBrgb(210, 113, 174)
HSLhsl(322, 52%, 63%)
HSVhsv(322, 46%, 82%)
CMYKcmyk(0%, 46.2%, 17.1%, 17.6%)
CIE-LABlab(60.40, 45.77, -15.51)
CIE-LCHlch(60.40, 48.32, 341.28°)
OKLaboklab(67.69% 0.1355 -0.0411)
OKLCHoklch(67.69% 0.142 343.1)
XYZxyz(40.1240, 28.5707, 43.4376)
Luminance0.2857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D271AE #71D295
analogous
#C571D2 #D271AE #D2717D
triadic
#D271AE #AED271 #71AED2
tetradic
#D271AE #D2C571 #71D295 #717DD2
square
#D271AE #D2C571 #71D295 #717DD2
split-complementary
#D271AE #7DD271 #71D2C5
monochromatic
#983072 #C34393 #D271AE #E19FC9 #EFCEE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D271AE#FFFFFF#000000##000000
##D271AE1.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)
#7788B0
Deuteranopia (green-blind)
#9197AB
Tritanopia (blue-blind)
#DD7188
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d271ae;
/* rgb */ color: rgb(210, 113, 174);
/* oklch */ color: oklch(67.7% 0.142 343.1);
Tailwind
colors: {
  custom: {
    50: '#e29cc6',
    500: '#d271ae',
    950: '#000000',
  },
}
SCSS
$custom: #d271ae;
$custom-light: #e29cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#d271ae",
  "rgb": {
    "r": 210,
    "g": 113,
    "b": 174
  },
  "hsl": {
    "h": 322.268,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67694,
    "c": 0.14162,
    "h": 343.1
  },
  "luminance": 0.28568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D271AE

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

Preview Lab → · Contrast checker → · Palette generator →

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