#D27FC4#D27FC4

#D27FC4 is a light, vivid pink. Relative luminance 0.329; OKLCH L 70.7% C 0.135 H 333.3°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#D27FC4
RGBrgb(210, 127, 196)
HSLhsl(310, 48%, 66%)
HSVhsv(310, 40%, 82%)
CMYKcmyk(0%, 39.5%, 6.7%, 17.6%)
CIE-LABlab(64.05, 42.11, -22.44)
CIE-LCHlch(64.05, 47.72, 331.95°)
OKLaboklab(70.7% 0.1203 -0.0605)
OKLCHoklch(70.7% 0.135 333.3)
XYZxyz(44.1312, 32.8682, 56.2335)
Luminance0.3287 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27FC4 #7FD28D
analogous
#B67FD2 #D27FC4 #D27F9A
triadic
#D27FC4 #C4D27F #7FC4D2
tetradic
#D27FC4 #D2B67F #7FD28D #7F9AD2
square
#D27FC4 #D2B67F #7FD28D #7F9AD2
split-complementary
#D27FC4 #9AD27F #7FD2B6
monochromatic
#9F388D #C252AF #D27FC4 #E2ACD9 #F2DAEE

Accessibility & contrast

On white

2.77
#D27FC4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#D27FC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27FC4
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27FC4#FFFFFF#000000##000000
##D27FC41.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E94C7
Deuteranopia (green-blind)
#93A0C1
Tritanopia (blue-blind)
#D98399
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d27fc4;
/* rgb */ color: rgb(210, 127, 196);
/* oklch */ color: oklch(70.7% 0.135 333.3);
Tailwind
colors: {
  custom: {
    50: '#e1a6d6',
    500: '#d27fc4',
    950: '#000000',
  },
}
SCSS
$custom: #d27fc4;
$custom-light: #e1a6d6;
$custom-dark: #000000;
JSON
{
  "hex": "#d27fc4",
  "rgb": {
    "r": 210,
    "g": 127,
    "b": 196
  },
  "hsl": {
    "h": 310.12,
    "s": 47.977,
    "l": 66.078
  },
  "oklch": {
    "l": 0.707,
    "c": 0.13468,
    "h": 333.3
  },
  "luminance": 0.32866
}

Semantic roles & 50–950 ramp

primary
#D27FC4
secondary
#C9E4CD
accent
#BB432A
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #D27FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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