#D271AC#D271AC

#D271AC is a light, vivid pink. Relative luminance 0.285; OKLCH L 67.6% C 0.140 H 344.2°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#D271AC
RGBrgb(210, 113, 172)
HSLhsl(324, 52%, 63%)
HSVhsv(324, 46%, 82%)
CMYKcmyk(0%, 46.2%, 18.1%, 17.6%)
CIE-LABlab(60.33, 45.46, -14.46)
CIE-LCHlch(60.33, 47.71, 342.35°)
OKLaboklab(67.62% 0.1349 -0.0383)
OKLCHoklch(67.62% 0.14 344.2)
XYZxyz(39.9305, 28.4933, 42.4184)
Luminance0.2849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D271AC #71D297
analogous
#C771D2 #D271AC #D2717B
triadic
#D271AC #ACD271 #71ACD2
tetradic
#D271AC #D2C771 #71D297 #717BD2
square
#D271AC #D2C771 #71D297 #717BD2
split-complementary
#D271AC #7BD271 #71D2C7
monochromatic
#983070 #C34391 #D271AC #E19FC7 #EFCEE2

Accessibility & contrast

On white

3.14
#D271AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#D271AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D271AC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D271AC#FFFFFF#000000##000000
##D271AC1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7888AE
Deuteranopia (green-blind)
#9197A9
Tritanopia (blue-blind)
#DD7187
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d271ac;
/* rgb */ color: rgb(210, 113, 172);
/* oklch */ color: oklch(67.6% 0.140 344.2);
Tailwind
colors: {
  custom: {
    50: '#e29cc4',
    500: '#d271ac',
    950: '#000000',
  },
}
SCSS
$custom: #d271ac;
$custom-light: #e29cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#d271ac",
  "rgb": {
    "r": 210,
    "g": 113,
    "b": 172
  },
  "hsl": {
    "h": 323.505,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6762,
    "c": 0.14026,
    "h": 344.2
  },
  "luminance": 0.2849
}

Semantic roles & 50–950 ramp

primary
#D271AC
secondary
#BEE1CC
accent
#BF6226
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160E12
muted
#847E81

Preview Lab

Preview with #D271AC

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

Preview Lab → · Contrast checker → · Palette generator →

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