#D271BC#D271BC

#D271BC is a light, vivid pink. Relative luminance 0.291; OKLCH L 68.2% C 0.152 H 336.3°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#D271BC
RGBrgb(210, 113, 188)
HSLhsl(314, 52%, 63%)
HSVhsv(314, 46%, 82%)
CMYKcmyk(0%, 46.2%, 10.5%, 17.6%)
CIE-LABlab(60.91, 48.00, -22.72)
CIE-LCHlch(60.91, 53.11, 334.67°)
OKLaboklab(68.24% 0.1392 -0.0612)
OKLCHoklch(68.24% 0.152 336.3)
XYZxyz(41.5607, 29.1454, 51.0038)
Luminance0.2914 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D271BC #71D287
analogous
#B771D2 #D271BC #D2718B
triadic
#D271BC #BCD271 #71BCD2
tetradic
#D271BC #D2B771 #71D287 #718BD2
square
#D271BC #D2B771 #71D287 #718BD2
split-complementary
#D271BC #8BD271 #71D2B7
monochromatic
#983081 #C343A6 #D271BC #E19FD2 #EFCEE8

Accessibility & contrast

On white

3.08
#D271BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#D271BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D271BC
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D271BC#FFFFFF#000000##000000
##D271BC1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#728ABF
Deuteranopia (green-blind)
#8C98B9
Tritanopia (blue-blind)
#DB758E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d271bc;
/* rgb */ color: rgb(210, 113, 188);
/* oklch */ color: oklch(68.2% 0.152 336.3);
Tailwind
colors: {
  custom: {
    50: '#e29dd0',
    500: '#d271bc',
    950: '#000000',
  },
}
SCSS
$custom: #d271bc;
$custom-light: #e29dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#d271bc",
  "rgb": {
    "r": 210,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 313.608,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68243,
    "c": 0.15205,
    "h": 336.3
  },
  "luminance": 0.29143
}

Semantic roles & 50–950 ramp

primary
#D271BC
secondary
#BEE1C6
accent
#BF4926
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160E14
muted
#847E82

Preview Lab

Preview with #D271BC

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

Preview Lab → · Contrast checker → · Palette generator →

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