#D271AB#D271AB

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

Color values

HEX#D271AB
RGBrgb(210, 113, 171)
HSLhsl(324, 52%, 63%)
HSVhsv(324, 46%, 82%)
CMYKcmyk(0%, 46.2%, 18.6%, 17.6%)
CIE-LABlab(60.30, 45.31, -13.94)
CIE-LCHlch(60.30, 47.41, 342.90°)
OKLaboklab(67.58% 0.1347 -0.0368)
OKLCHoklch(67.58% 0.14 344.7)
XYZxyz(39.8349, 28.4551, 41.9145)
Luminance0.2845 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D271AB #71D298
analogous
#C971D2 #D271AB #D2717A
triadic
#D271AB #ABD271 #71ABD2
tetradic
#D271AB #D2C971 #71D298 #717AD2
square
#D271AB #D2C971 #71D298 #717AD2
split-complementary
#D271AB #7AD271 #71D2C9
monochromatic
#98306E #C34390 #D271AB #E19FC6 #EFCEE2

Accessibility & contrast

On white

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

On black

6.69
#D271AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D271AB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D271AB#FFFFFF#000000##000000
##D271AB1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7887AD
Deuteranopia (green-blind)
#9297A8
Tritanopia (blue-blind)
#DD7087
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d271ab;
/* rgb */ color: rgb(210, 113, 171);
/* oklch */ color: oklch(67.6% 0.140 344.7);
Tailwind
colors: {
  custom: {
    50: '#e29cc4',
    500: '#d271ab',
    950: '#000000',
  },
}
SCSS
$custom: #d271ab;
$custom-light: #e29cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#d271ab",
  "rgb": {
    "r": 210,
    "g": 113,
    "b": 171
  },
  "hsl": {
    "h": 324.124,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67583,
    "c": 0.1396,
    "h": 344.7
  },
  "luminance": 0.28452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D271AB

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

Preview Lab → · Contrast checker → · Palette generator →

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