#D271A5#D271A5

#D271A5 is a light, vivid pink. Relative luminance 0.282; OKLCH L 67.4% C 0.136 H 348.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#D271A5
RGBrgb(210, 113, 165)
HSLhsl(328, 52%, 63%)
HSVhsv(328, 46%, 82%)
CMYKcmyk(0%, 46.2%, 21.4%, 17.6%)
CIE-LABlab(60.10, 44.41, -10.80)
CIE-LCHlch(60.10, 45.71, 346.34°)
OKLaboklab(67.37% 0.1329 -0.0283)
OKLCHoklch(67.37% 0.136 348)
XYZxyz(39.2759, 28.2315, 38.9706)
Luminance0.2823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D271A5 #71D29E
analogous
#CE71D2 #D271A5 #D27174
triadic
#D271A5 #A5D271 #71A5D2
tetradic
#D271A5 #D2CE71 #71D29E #7174D2
square
#D271A5 #D2CE71 #71D29E #7174D2
split-complementary
#D271A5 #74D271 #71D2CE
monochromatic
#983068 #C34388 #D271A5 #E19FC2 #EFCEE0

Accessibility & contrast

On white

3.16
#D271A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#D271A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D271A5
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D271A5#FFFFFF#000000##000000
##D271A51.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A87A7
Deuteranopia (green-blind)
#9397A3
Tritanopia (blue-blind)
#DE6F84
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d271a5;
/* rgb */ color: rgb(210, 113, 165);
/* oklch */ color: oklch(67.4% 0.136 348.0);
Tailwind
colors: {
  custom: {
    50: '#e29cbf',
    500: '#d271a5',
    950: '#000000',
  },
}
SCSS
$custom: #d271a5;
$custom-light: #e29cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#d271a5",
  "rgb": {
    "r": 210,
    "g": 113,
    "b": 165
  },
  "hsl": {
    "h": 327.835,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67366,
    "c": 0.13583,
    "h": 348
  },
  "luminance": 0.28229
}

Semantic roles & 50–950 ramp

primary
#D271A5
secondary
#BEE1CE
accent
#BF6D26
background
#FEF9FB
surface
#FCF2F7
border
#D5CCD0
text
#160E12
muted
#847E81

Preview Lab

Preview with #D271A5

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

Preview Lab → · Contrast checker → · Palette generator →

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