#D27FAC#D27FAC

#D27FAC is a light, moderate pink. Relative luminance 0.319; OKLCH L 69.8% C 0.116 H 346.8°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#D27FAC
RGBrgb(210, 127, 172)
HSLhsl(327, 48%, 66%)
HSVhsv(327, 40%, 82%)
CMYKcmyk(0%, 39.5%, 18.1%, 17.6%)
CIE-LABlab(63.23, 38.17, -10.11)
CIE-LCHlch(63.23, 39.48, 345.16°)
OKLaboklab(69.8% 0.1134 -0.0265)
OKLCHoklch(69.8% 0.116 346.8)
XYZxyz(41.6147, 31.8616, 42.9797)
Luminance0.3186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27FAC #7FD2A5
analogous
#CE7FD2 #D27FAC #D27F82
triadic
#D27FAC #ACD27F #7FACD2
tetradic
#D27FAC #D2CE7F #7FD2A5 #7F82D2
square
#D27FAC #D2CE7F #7FD2A5 #7F82D2
split-complementary
#D27FAC #82D27F #7FD2CE
monochromatic
#9F3870 #C2528F #D27FAC #E2ACC9 #F2DAE7

Accessibility & contrast

On white

2.85
#D27FAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#D27FAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27FAC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27FAC#FFFFFF#000000##000000
##D27FAC1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8691AE
Deuteranopia (green-blind)
#9A9EAA
Tritanopia (blue-blind)
#DC7E8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d27fac;
/* rgb */ color: rgb(210, 127, 172);
/* oklch */ color: oklch(69.8% 0.116 346.8);
Tailwind
colors: {
  custom: {
    50: '#e1a5c4',
    500: '#d27fac',
    950: '#000000',
  },
}
SCSS
$custom: #d27fac;
$custom-light: #e1a5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d27fac",
  "rgb": {
    "r": 210,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 327.47,
    "s": 47.977,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69805,
    "c": 0.11641,
    "h": 346.8
  },
  "luminance": 0.31859
}

Semantic roles & 50–950 ramp

primary
#D27FAC
secondary
#C9E4D5
accent
#BB6D2A
background
#FEFAFC
surface
#FCF4F8
border
#D5CED1
text
#150F12
muted
#847F81

Preview Lab

Preview with #D27FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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