#D271BE#D271BE

#D271BE is a light, vivid pink. Relative luminance 0.292; OKLCH L 68.3% C 0.154 H 335.4°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#D271BE
RGBrgb(210, 113, 190)
HSLhsl(312, 52%, 63%)
HSVhsv(312, 46%, 82%)
CMYKcmyk(0%, 46.2%, 9.5%, 17.6%)
CIE-LABlab(60.99, 48.33, -23.74)
CIE-LCHlch(60.99, 53.85, 333.84°)
OKLaboklab(68.33% 0.1397 -0.0641)
OKLCHoklch(68.33% 0.154 335.4)
XYZxyz(41.7778, 29.2322, 52.1471)
Luminance0.2923 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D271BE #71D285
analogous
#B571D2 #D271BE #D2718D
triadic
#D271BE #BED271 #71BED2
tetradic
#D271BE #D2B571 #71D285 #718DD2
square
#D271BE #D2B571 #71D285 #718DD2
split-complementary
#D271BE #8DD271 #71D2B5
monochromatic
#983083 #C343A9 #D271BE #E19FD3 #EFCEE9

Accessibility & contrast

On white

3.07
#D271BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#D271BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D271BE
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D271BE#FFFFFF#000000##000000
##D271BE1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#718AC1
Deuteranopia (green-blind)
#8C98BB
Tritanopia (blue-blind)
#DA758F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d271be;
/* rgb */ color: rgb(210, 113, 190);
/* oklch */ color: oklch(68.3% 0.154 335.4);
Tailwind
colors: {
  custom: {
    50: '#e29dd1',
    500: '#d271be',
    950: '#000000',
  },
}
SCSS
$custom: #d271be;
$custom-light: #e29dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#d271be",
  "rgb": {
    "r": 210,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 312.371,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68325,
    "c": 0.15367,
    "h": 335.4
  },
  "luminance": 0.2923
}

Semantic roles & 50–950 ramp

primary
#D271BE
secondary
#BEE1C5
accent
#BF4626
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160E14
muted
#847E82

Preview Lab

Preview with #D271BE

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

Preview Lab → · Contrast checker → · Palette generator →

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