#D271BB#D271BB

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

Color values

HEX#D271BB
RGBrgb(210, 113, 187)
HSLhsl(314, 52%, 63%)
HSVhsv(314, 46%, 82%)
CMYKcmyk(0%, 46.2%, 11%, 17.6%)
CIE-LABlab(60.87, 47.83, -22.21)
CIE-LCHlch(60.87, 52.74, 335.09°)
OKLaboklab(68.2% 0.1389 -0.0598)
OKLCHoklch(68.2% 0.151 336.7)
XYZxyz(41.4532, 29.1024, 50.4380)
Luminance0.2910 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D271BB #71D288
analogous
#B871D2 #D271BB #D2718A
triadic
#D271BB #BBD271 #71BBD2
tetradic
#D271BB #D2B871 #71D288 #718AD2
square
#D271BB #D2B871 #71D288 #718AD2
split-complementary
#D271BB #8AD271 #71D2B8
monochromatic
#983080 #C343A5 #D271BB #E19FD1 #EFCEE8

Accessibility & contrast

On white

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

On black

6.82
#D271BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D271BB
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D271BB#FFFFFF#000000##000000
##D271BB1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#738ABE
Deuteranopia (green-blind)
#8D98B8
Tritanopia (blue-blind)
#DB758D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d271bb;
/* rgb */ color: rgb(210, 113, 187);
/* oklch */ color: oklch(68.2% 0.151 336.7);
Tailwind
colors: {
  custom: {
    50: '#e29ccf',
    500: '#d271bb',
    950: '#000000',
  },
}
SCSS
$custom: #d271bb;
$custom-light: #e29ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#d271bb",
  "rgb": {
    "r": 210,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 314.227,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68202,
    "c": 0.15125,
    "h": 336.7
  },
  "luminance": 0.291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D271BB

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

Preview Lab → · Contrast checker → · Palette generator →

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