#D27FA2#D27FA2

#D27FA2 is a light, moderate pink. Relative luminance 0.315; OKLCH L 69.5% C 0.111 H 353.6°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#D27FA2
RGBrgb(210, 127, 162)
HSLhsl(335, 48%, 66%)
HSVhsv(335, 40%, 82%)
CMYKcmyk(0%, 39.5%, 22.9%, 17.6%)
CIE-LABlab(62.92, 36.66, -4.88)
CIE-LCHlch(62.92, 36.99, 352.42°)
OKLaboklab(69.47% 0.11 -0.0124)
OKLCHoklch(69.47% 0.111 353.6)
XYZxyz(40.6902, 31.4918, 38.1108)
Luminance0.3149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27FA2 #7FD2AF
analogous
#D27FCB #D27FA2 #D2857F
triadic
#D27FA2 #A2D27F #7FA2D2
tetradic
#D27FA2 #CBD27F #7FD2AF #857FD2
square
#D27FA2 #CBD27F #7FD2AF #857FD2
split-complementary
#D27FA2 #7FD285 #7FCBD2
monochromatic
#9F3863 #C25281 #D27FA2 #E2ACC3 #F2DAE4

Accessibility & contrast

On white

2.88
#D27FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#D27FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27FA2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27FA2#FFFFFF#000000##000000
##D27FA21.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#888FA3
Deuteranopia (green-blind)
#9D9EA0
Tritanopia (blue-blind)
#DE7C8B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d27fa2;
/* rgb */ color: rgb(210, 127, 162);
/* oklch */ color: oklch(69.5% 0.111 353.6);
Tailwind
colors: {
  custom: {
    50: '#e1a5bd',
    500: '#d27fa2',
    950: '#000000',
  },
}
SCSS
$custom: #d27fa2;
$custom-light: #e1a5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d27fa2",
  "rgb": {
    "r": 210,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 334.699,
    "s": 47.977,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6947,
    "c": 0.11074,
    "h": 353.6
  },
  "luminance": 0.31489
}

Semantic roles & 50–950 ramp

primary
#D27FA2
secondary
#C9E4D9
accent
#BB7E2A
background
#FEFAFB
surface
#FCF4F6
border
#D5CED0
text
#150F12
muted
#847F81

Preview Lab

Preview with #D27FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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