#D27DA2#D27DA2

#D27DA2 is a light, moderate pink. Relative luminance 0.310; OKLCH L 69.1% C 0.114 H 352.9°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#D27DA2
RGBrgb(210, 125, 162)
HSLhsl(334, 49%, 66%)
HSVhsv(334, 40%, 82%)
CMYKcmyk(0%, 40.5%, 22.9%, 17.6%)
CIE-LABlab(62.49, 37.72, -5.51)
CIE-LCHlch(62.49, 38.12, 351.68°)
OKLaboklab(69.14% 0.1132 -0.0141)
OKLCHoklch(69.14% 0.114 352.9)
XYZxyz(40.4344, 30.9803, 38.0255)
Luminance0.3098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27DA2 #7DD2AD
analogous
#D27DCC #D27DA2 #D2827D
triadic
#D27DA2 #A2D27D #7DA2D2
tetradic
#D27DA2 #CCD27D #7DD2AD #827DD2
square
#D27DA2 #CCD27D #7DD2AD #827DD2
split-complementary
#D27DA2 #7DD282 #7DCCD2
monochromatic
#9E3764 #C25081 #D27DA2 #E2AAC3 #F1D8E3

Accessibility & contrast

On white

2.92
#D27DA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#D27DA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27DA2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27DA2#FFFFFF#000000##000000
##D27DA21.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#868EA3
Deuteranopia (green-blind)
#9C9DA0
Tritanopia (blue-blind)
#DE7A8A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d27da2;
/* rgb */ color: rgb(210, 125, 162);
/* oklch */ color: oklch(69.1% 0.114 352.9);
Tailwind
colors: {
  custom: {
    50: '#e1a4bd',
    500: '#d27da2',
    950: '#000000',
  },
}
SCSS
$custom: #d27da2;
$custom-light: #e1a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d27da2",
  "rgb": {
    "r": 210,
    "g": 125,
    "b": 162
  },
  "hsl": {
    "h": 333.882,
    "s": 48.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69143,
    "c": 0.11408,
    "h": 352.9
  },
  "luminance": 0.30978
}

Semantic roles & 50–950 ramp

primary
#D27DA2
secondary
#C7E4D7
accent
#BC7C2A
background
#FEFAFB
surface
#FCF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D27DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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