#D27EA2#D27EA2

#D27EA2 is a light, moderate pink. Relative luminance 0.312; OKLCH L 69.3% C 0.112 H 353.2°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#D27EA2
RGBrgb(210, 126, 162)
HSLhsl(334, 48%, 66%)
HSVhsv(334, 40%, 82%)
CMYKcmyk(0%, 40%, 22.9%, 17.6%)
CIE-LABlab(62.71, 37.19, -5.20)
CIE-LCHlch(62.71, 37.55, 352.05°)
OKLaboklab(69.31% 0.1116 -0.0133)
OKLCHoklch(69.31% 0.112 353.2)
XYZxyz(40.5617, 31.2348, 38.0679)
Luminance0.3123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27EA2 #7ED2AE
analogous
#D27ECC #D27EA2 #D2847E
triadic
#D27EA2 #A2D27E #7EA2D2
tetradic
#D27EA2 #CCD27E #7ED2AE #847ED2
square
#D27EA2 #CCD27E #7ED2AE #847ED2
split-complementary
#D27EA2 #7ED284 #7ECCD2
monochromatic
#9E3763 #C25181 #D27EA2 #E2ABC3 #F2D9E3

Accessibility & contrast

On white

2.90
#D27EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#D27EA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27EA2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27EA2#FFFFFF#000000##000000
##D27EA21.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#878FA3
Deuteranopia (green-blind)
#9C9DA0
Tritanopia (blue-blind)
#DE7B8B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d27ea2;
/* rgb */ color: rgb(210, 126, 162);
/* oklch */ color: oklch(69.3% 0.112 353.2);
Tailwind
colors: {
  custom: {
    50: '#e1a5bd',
    500: '#d27ea2',
    950: '#000000',
  },
}
SCSS
$custom: #d27ea2;
$custom-light: #e1a5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d27ea2",
  "rgb": {
    "r": 210,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 334.286,
    "s": 48.276,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69306,
    "c": 0.11241,
    "h": 353.2
  },
  "luminance": 0.31232
}

Semantic roles & 50–950 ramp

primary
#D27EA2
secondary
#C8E4D8
accent
#BC7D2A
background
#FEFAFB
surface
#FCF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D27EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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