#D8527F#D8527F

#D8527F is a light, vivid pink. Relative luminance 0.222; OKLCH L 62.8% C 0.172 H 2.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#D8527F
RGBrgb(216, 82, 127)
HSLhsl(340, 63%, 58%)
HSVhsv(340, 62%, 85%)
CMYKcmyk(0%, 62%, 41.2%, 15.3%)
CIE-LABlab(54.21, 56.34, 2.80)
CIE-LCHlch(54.21, 56.41, 2.85°)
OKLaboklab(62.76% 0.172 0.0079)
OKLCHoklch(62.76% 0.172 2.6)
XYZxyz(35.1693, 22.1699, 22.5017)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8527F #52D8AB
analogous
#D852C2 #D8527F #D86852
triadic
#D8527F #7FD852 #527FD8
tetradic
#D8527F #C2D852 #52D8AB #6852D8
square
#D8527F #C2D852 #52D8AB #6852D8
split-complementary
#D8527F #52D868 #52C2D8
monochromatic
#8F2046 #C12C5E #D8527F #E384A4 #EFB6C9

Accessibility & contrast

On white

3.87
#D8527F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#D8527F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8527F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8527F#FFFFFF#000000##000000
##D8527F1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7180
Deuteranopia (green-blind)
#8F8B7C
Tritanopia (blue-blind)
#E94363
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d8527f;
/* rgb */ color: rgb(216, 82, 127);
/* oklch */ color: oklch(62.8% 0.172 2.6);
Tailwind
colors: {
  custom: {
    50: '#e989a4',
    500: '#d8527f',
    950: '#000000',
  },
}
SCSS
$custom: #d8527f;
$custom-light: #e989a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8527f",
  "rgb": {
    "r": 216,
    "g": 82,
    "b": 127
  },
  "hsl": {
    "h": 339.851,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62755,
    "c": 0.1722,
    "h": 2.6
  },
  "luminance": 0.22166
}

Semantic roles & 50–950 ramp

primary
#D8527F
secondary
#A8DDCC
accent
#E6AF42
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #D8527F

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

Preview Lab → · Contrast checker → · Palette generator →

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