#D2427E#D2427E

#D2427E is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.0% C 0.187 H 358.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#D2427E
RGBrgb(210, 66, 126)
HSLhsl(335, 62%, 54%)
HSVhsv(335, 69%, 82%)
CMYKcmyk(0%, 68.6%, 40%, 17.6%)
CIE-LABlab(50.81, 60.91, -1.67)
CIE-LCHlch(50.81, 60.93, 358.43°)
OKLaboklab(60.04% 0.1866 -0.0036)
OKLCHoklch(60.04% 0.187 358.9)
XYZxyz(32.2947, 19.1083, 21.7222)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2427E #42D296
analogous
#D242C6 #D2427E #D24E42
triadic
#D2427E #7ED242 #427ED2
tetradic
#D2427E #C6D242 #42D296 #4E42D2
square
#D2427E #C6D242 #42D296 #4E42D2
split-complementary
#D2427E #42D24E #42C6D2
monochromatic
#7C1E45 #AD2960 #D2427E #DE73A0 #EAA5C1

Accessibility & contrast

On white

4.36
#D2427E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#D2427E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2427E
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2427E#FFFFFF#000000##000000
##D2427E1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6880
Deuteranopia (green-blind)
#85837B
Tritanopia (blue-blind)
#E3315B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d2427e;
/* rgb */ color: rgb(210, 66, 126);
/* oklch */ color: oklch(60.0% 0.187 358.9);
Tailwind
colors: {
  custom: {
    50: '#e580a3',
    500: '#d2427e',
    950: '#000000',
  },
}
SCSS
$custom: #d2427e;
$custom-light: #e580a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2427e",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 335,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60041,
    "c": 0.18666,
    "h": 358.9
  },
  "luminance": 0.19104
}

Semantic roles & 50–950 ramp

primary
#D2427E
secondary
#99D7BD
accent
#E5A143
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D2427E

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

Preview Lab → · Contrast checker → · Palette generator →

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