#D271A3#D271A3

#D271A3 is a light, vivid pink. Relative luminance 0.282; OKLCH L 67.3% C 0.135 H 349.1°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#D271A3
RGBrgb(210, 113, 163)
HSLhsl(329, 52%, 63%)
HSVhsv(329, 46%, 82%)
CMYKcmyk(0%, 46.2%, 22.4%, 17.6%)
CIE-LABlab(60.03, 44.12, -9.75)
CIE-LCHlch(60.03, 45.19, 347.55°)
OKLaboklab(67.3% 0.1323 -0.0254)
OKLCHoklch(67.3% 0.135 349.1)
XYZxyz(39.0953, 28.1592, 38.0194)
Luminance0.2816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D271A3 #71D2A0
analogous
#D071D2 #D271A3 #D27172
triadic
#D271A3 #A3D271 #71A3D2
tetradic
#D271A3 #D2D071 #71D2A0 #7172D2
square
#D271A3 #D2D071 #71D2A0 #7172D2
split-complementary
#D271A3 #72D271 #71D2D0
monochromatic
#983066 #C34385 #D271A3 #E19FC1 #EFCEDF

Accessibility & contrast

On white

3.17
#D271A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#D271A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D271A3
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D271A3#FFFFFF#000000##000000
##D271A31.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B86A5
Deuteranopia (green-blind)
#9497A1
Tritanopia (blue-blind)
#DE6E83
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d271a3;
/* rgb */ color: rgb(210, 113, 163);
/* oklch */ color: oklch(67.3% 0.135 349.1);
Tailwind
colors: {
  custom: {
    50: '#e29cbe',
    500: '#d271a3',
    950: '#000000',
  },
}
SCSS
$custom: #d271a3;
$custom-light: #e29cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#d271a3",
  "rgb": {
    "r": 210,
    "g": 113,
    "b": 163
  },
  "hsl": {
    "h": 329.072,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67296,
    "c": 0.13467,
    "h": 349.1
  },
  "luminance": 0.28156
}

Semantic roles & 50–950 ramp

primary
#D271A3
secondary
#BEE1CF
accent
#BF7026
background
#FEF9FB
surface
#FCF2F6
border
#D5CCD0
text
#160E12
muted
#847E81

Preview Lab

Preview with #D271A3

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

Preview Lab → · Contrast checker → · Palette generator →

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