#D27EC2#D27EC2

#D27EC2 is a light, vivid pink. Relative luminance 0.325; OKLCH L 70.5% C 0.135 H 334.2°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#D27EC2
RGBrgb(210, 126, 194)
HSLhsl(311, 48%, 66%)
HSVhsv(311, 40%, 82%)
CMYKcmyk(0%, 40%, 7.6%, 17.6%)
CIE-LABlab(63.77, 42.29, -21.74)
CIE-LCHlch(63.77, 47.56, 332.79°)
OKLaboklab(70.46% 0.1213 -0.0586)
OKLCHoklch(70.46% 0.135 334.2)
XYZxyz(43.7766, 32.5207, 54.9998)
Luminance0.3252 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27EC2 #7ED28E
analogous
#B87ED2 #D27EC2 #D27E98
triadic
#D27EC2 #C2D27E #7EC2D2
tetradic
#D27EC2 #D2B87E #7ED28E #7E98D2
square
#D27EC2 #D2B87E #7ED28E #7E98D2
split-complementary
#D27EC2 #98D27E #7ED2B8
monochromatic
#9E378B #C251AD #D27EC2 #E2ABD7 #F2D9ED

Accessibility & contrast

On white

2.80
#D27EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#D27EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27EC2
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27EC2#FFFFFF#000000##000000
##D27EC21.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E93C4
Deuteranopia (green-blind)
#939FBF
Tritanopia (blue-blind)
#D98297
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d27ec2;
/* rgb */ color: rgb(210, 126, 194);
/* oklch */ color: oklch(70.5% 0.135 334.2);
Tailwind
colors: {
  custom: {
    50: '#e1a5d4',
    500: '#d27ec2',
    950: '#000000',
  },
}
SCSS
$custom: #d27ec2;
$custom-light: #e1a5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d27ec2",
  "rgb": {
    "r": 210,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 311.429,
    "s": 48.276,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70463,
    "c": 0.1347,
    "h": 334.2
  },
  "luminance": 0.32518
}

Semantic roles & 50–950 ramp

primary
#D27EC2
secondary
#C8E4CD
accent
#BC462A
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #D27EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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