#D271AA#D271AA

#D271AA is a light, vivid pink. Relative luminance 0.284; OKLCH L 67.5% C 0.139 H 345.2°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#D271AA
RGBrgb(210, 113, 170)
HSLhsl(325, 52%, 63%)
HSVhsv(325, 46%, 82%)
CMYKcmyk(0%, 46.2%, 19%, 17.6%)
CIE-LABlab(60.26, 45.16, -13.42)
CIE-LCHlch(60.26, 47.11, 343.45°)
OKLaboklab(67.55% 0.1344 -0.0354)
OKLCHoklch(67.55% 0.139 345.2)
XYZxyz(39.7399, 28.4171, 41.4144)
Luminance0.2841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D271AA #71D299
analogous
#C971D2 #D271AA #D27179
triadic
#D271AA #AAD271 #71AAD2
tetradic
#D271AA #D2C971 #71D299 #7179D2
square
#D271AA #D2C971 #71D299 #7179D2
split-complementary
#D271AA #79D271 #71D2C9
monochromatic
#98306D #C3438E #D271AA #E19FC6 #EFCEE2

Accessibility & contrast

On white

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

On black

6.68
#D271AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D271AA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D271AA#FFFFFF#000000##000000
##D271AA1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7987AC
Deuteranopia (green-blind)
#9297A7
Tritanopia (blue-blind)
#DD7086
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d271aa;
/* rgb */ color: rgb(210, 113, 170);
/* oklch */ color: oklch(67.5% 0.139 345.2);
Tailwind
colors: {
  custom: {
    50: '#e29cc3',
    500: '#d271aa',
    950: '#000000',
  },
}
SCSS
$custom: #d271aa;
$custom-light: #e29cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#d271aa",
  "rgb": {
    "r": 210,
    "g": 113,
    "b": 170
  },
  "hsl": {
    "h": 324.742,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67546,
    "c": 0.13895,
    "h": 345.2
  },
  "luminance": 0.28414
}

Semantic roles & 50–950 ramp

primary
#D271AA
secondary
#BEE1CC
accent
#BF6526
background
#FEF9FB
surface
#FCF2F7
border
#D5CCD0
text
#160E12
muted
#847E81

Preview Lab

Preview with #D271AA

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

Preview Lab → · Contrast checker → · Palette generator →

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