#D271AF#D271AF

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

Color values

HEX#D271AF
RGBrgb(210, 113, 175)
HSLhsl(322, 52%, 63%)
HSVhsv(322, 46%, 82%)
CMYKcmyk(0%, 46.2%, 16.7%, 17.6%)
CIE-LABlab(60.44, 45.92, -16.02)
CIE-LCHlch(60.44, 48.64, 340.76°)
OKLaboklab(67.73% 0.1358 -0.0426)
OKLCHoklch(67.73% 0.142 342.6)
XYZxyz(40.2219, 28.6099, 43.9529)
Luminance0.2861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D271AF #71D294
analogous
#C471D2 #D271AF #D2717E
triadic
#D271AF #AFD271 #71AFD2
tetradic
#D271AF #D2C471 #71D294 #717ED2
square
#D271AF #D2C471 #71D294 #717ED2
split-complementary
#D271AF #7ED271 #71D2C4
monochromatic
#983073 #C34395 #D271AF #E19FC9 #EFCEE3

Accessibility & contrast

On white

3.12
#D271AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#D271AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D271AF
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D271AF#FFFFFF#000000##000000
##D271AF1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7788B1
Deuteranopia (green-blind)
#9198AC
Tritanopia (blue-blind)
#DD7188
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d271af;
/* rgb */ color: rgb(210, 113, 175);
/* oklch */ color: oklch(67.7% 0.142 342.6);
Tailwind
colors: {
  custom: {
    50: '#e29cc7',
    500: '#d271af',
    950: '#000000',
  },
}
SCSS
$custom: #d271af;
$custom-light: #e29cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#d271af",
  "rgb": {
    "r": 210,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 321.649,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67732,
    "c": 0.14231,
    "h": 342.6
  },
  "luminance": 0.28607
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D271AF

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

Preview Lab → · Contrast checker → · Palette generator →

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