#D2407E#D2407E

#D2407E is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.8% C 0.189 H 358.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#D2407E
RGBrgb(210, 64, 126)
HSLhsl(335, 62%, 54%)
HSVhsv(335, 70%, 82%)
CMYKcmyk(0%, 69.5%, 40%, 17.6%)
CIE-LABlab(50.55, 61.65, -2.06)
CIE-LCHlch(50.55, 61.69, 358.08°)
OKLaboklab(59.84% 0.189 -0.0046)
OKLCHoklch(59.84% 0.189 358.6)
XYZxyz(32.1798, 18.8787, 21.6840)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2407E #40D294
analogous
#D240C7 #D2407E #D24B40
triadic
#D2407E #7ED240 #407ED2
tetradic
#D2407E #C7D240 #40D294 #4B40D2
square
#D2407E #C7D240 #40D294 #4B40D2
split-complementary
#D2407E #40D24B #40C7D2
monochromatic
#7B1D45 #AC2960 #D2407E #DE729F #E9A3C1

Accessibility & contrast

On white

4.40
#D2407E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#D2407E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2407E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2407E#FFFFFF#000000##000000
##D2407E1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6780
Deuteranopia (green-blind)
#85827B
Tritanopia (blue-blind)
#E32F5A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d2407e;
/* rgb */ color: rgb(210, 64, 126);
/* oklch */ color: oklch(59.8% 0.189 358.6);
Tailwind
colors: {
  custom: {
    50: '#e57fa3',
    500: '#d2407e',
    950: '#000000',
  },
}
SCSS
$custom: #d2407e;
$custom-light: #e57fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2407e",
  "rgb": {
    "r": 210,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 334.521,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59842,
    "c": 0.18904,
    "h": 358.6
  },
  "luminance": 0.18875
}

Semantic roles & 50–950 ramp

primary
#D2407E
secondary
#98D6BC
accent
#E5A043
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D2407E

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

Preview Lab → · Contrast checker → · Palette generator →

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