#D271A0#D271A0

#D271A0 is a light, vivid pink. Relative luminance 0.281; OKLCH L 67.2% C 0.133 H 350.9°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#D271A0
RGBrgb(210, 113, 160)
HSLhsl(331, 52%, 63%)
HSVhsv(331, 46%, 82%)
CMYKcmyk(0%, 46.2%, 23.8%, 17.6%)
CIE-LABlab(59.94, 43.69, -8.16)
CIE-LCHlch(59.94, 44.45, 349.42°)
OKLaboklab(67.19% 0.1313 -0.0211)
OKLCHoklch(67.19% 0.133 350.9)
XYZxyz(38.8297, 28.0530, 36.6206)
Luminance0.2805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D271A0 #71D2A3
analogous
#D271D0 #D271A0 #D27271
triadic
#D271A0 #A0D271 #71A0D2
tetradic
#D271A0 #D0D271 #71D2A3 #7271D2
square
#D271A0 #D0D271 #71D2A3 #7271D2
split-complementary
#D271A0 #71D272 #71D0D2
monochromatic
#983063 #C34381 #D271A0 #E19FBF #EFCEDE

Accessibility & contrast

On white

3.18
#D271A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#D271A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D271A0
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D271A0#FFFFFF#000000##000000
##D271A01.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C86A2
Deuteranopia (green-blind)
#95979E
Tritanopia (blue-blind)
#DE6E82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d271a0;
/* rgb */ color: rgb(210, 113, 160);
/* oklch */ color: oklch(67.2% 0.133 350.9);
Tailwind
colors: {
  custom: {
    50: '#e29cbc',
    500: '#d271a0',
    950: '#000000',
  },
}
SCSS
$custom: #d271a0;
$custom-light: #e29cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#d271a0",
  "rgb": {
    "r": 210,
    "g": 113,
    "b": 160
  },
  "hsl": {
    "h": 330.928,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67192,
    "c": 0.13299,
    "h": 350.9
  },
  "luminance": 0.2805
}

Semantic roles & 50–950 ramp

primary
#D271A0
secondary
#BEE1D0
accent
#BF7526
background
#FEF9FB
surface
#FCF2F6
border
#D5CCD0
text
#160E12
muted
#847E81

Preview Lab

Preview with #D271A0

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

Preview Lab → · Contrast checker → · Palette generator →

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