#D271B0#D271B0

#D271B0 is a light, vivid pink. Relative luminance 0.286; OKLCH L 67.8% C 0.143 H 342.1°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#D271B0
RGBrgb(210, 113, 176)
HSLhsl(321, 52%, 63%)
HSVhsv(321, 46%, 82%)
CMYKcmyk(0%, 46.2%, 16.2%, 17.6%)
CIE-LABlab(60.47, 46.08, -16.54)
CIE-LCHlch(60.47, 48.96, 340.25°)
OKLaboklab(67.77% 0.1361 -0.044)
OKLCHoklch(67.77% 0.143 342.1)
XYZxyz(40.3205, 28.6493, 44.4721)
Luminance0.2865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D271B0 #71D293
analogous
#C371D2 #D271B0 #D2717F
triadic
#D271B0 #B0D271 #71B0D2
tetradic
#D271B0 #D2C371 #71D293 #717FD2
square
#D271B0 #D2C371 #71D293 #717FD2
split-complementary
#D271B0 #7FD271 #71D2C3
monochromatic
#983074 #C34396 #D271B0 #E19FCA #EFCEE4

Accessibility & contrast

On white

3.12
#D271B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#D271B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D271B0
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D271B0#FFFFFF#000000##000000
##D271B01.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7788B2
Deuteranopia (green-blind)
#9098AD
Tritanopia (blue-blind)
#DC7289
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d271b0;
/* rgb */ color: rgb(210, 113, 176);
/* oklch */ color: oklch(67.8% 0.143 342.1);
Tailwind
colors: {
  custom: {
    50: '#e29cc7',
    500: '#d271b0',
    950: '#000000',
  },
}
SCSS
$custom: #d271b0;
$custom-light: #e29cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#d271b0",
  "rgb": {
    "r": 210,
    "g": 113,
    "b": 176
  },
  "hsl": {
    "h": 321.031,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6777,
    "c": 0.14301,
    "h": 342.1
  },
  "luminance": 0.28646
}

Semantic roles & 50–950 ramp

primary
#D271B0
secondary
#BEE1CA
accent
#BF5C26
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160E13
muted
#847E82

Preview Lab

Preview with #D271B0

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

Preview Lab → · Contrast checker → · Palette generator →

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