#D2427F#D2427F

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

Color values

HEX#D2427F
RGBrgb(210, 66, 127)
HSLhsl(335, 62%, 54%)
HSVhsv(335, 69%, 82%)
CMYKcmyk(0%, 68.6%, 39.5%, 17.6%)
CIE-LABlab(50.84, 61.01, -2.22)
CIE-LCHlch(50.84, 61.05, 357.91°)
OKLaboklab(60.07% 0.1869 -0.0051)
OKLCHoklch(60.07% 0.187 358.4)
XYZxyz(32.3595, 19.1343, 22.0638)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2427F #42D295
analogous
#D242C7 #D2427F #D24D42
triadic
#D2427F #7FD242 #427FD2
tetradic
#D2427F #C7D242 #42D295 #4D42D2
square
#D2427F #C7D242 #42D295 #4D42D2
split-complementary
#D2427F #42D24D #42C7D2
monochromatic
#7C1E46 #AD2961 #D2427F #DE73A0 #EAA5C2

Accessibility & contrast

On white

4.35
#D2427F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#D2427F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2427F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2427F#FFFFFF#000000##000000
##D2427F1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6881
Deuteranopia (green-blind)
#85837C
Tritanopia (blue-blind)
#E3325B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d2427f;
/* rgb */ color: rgb(210, 66, 127);
/* oklch */ color: oklch(60.1% 0.187 358.4);
Tailwind
colors: {
  custom: {
    50: '#e580a4',
    500: '#d2427f',
    950: '#000000',
  },
}
SCSS
$custom: #d2427f;
$custom-light: #e580a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2427f",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 334.583,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60073,
    "c": 0.18701,
    "h": 358.4
  },
  "luminance": 0.1913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2427F

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

Preview Lab → · Contrast checker → · Palette generator →

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