#D04270#D04270

#D04270 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.3% C 0.181 H 4.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#D04270
RGBrgb(208, 66, 112)
HSLhsl(341, 60%, 54%)
HSVhsv(341, 68%, 82%)
CMYKcmyk(0%, 68.3%, 46.2%, 18.4%)
CIE-LABlab(50.07, 58.96, 5.67)
CIE-LCHlch(50.07, 59.23, 5.49°)
OKLaboklab(59.3% 0.1801 0.0151)
OKLCHoklch(59.3% 0.181 4.8)
XYZxyz(30.8877, 18.4801, 17.2666)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04270 #42D0A2
analogous
#D042B7 #D04270 #D05B42
triadic
#D04270 #70D042 #4270D0
tetradic
#D04270 #B7D042 #42D0A2 #5B42D0
square
#D04270 #B7D042 #42D0A2 #5B42D0
split-complementary
#D04270 #42D05B #42B7D0
monochromatic
#791E3C #AA2A54 #D04270 #DC7395 #E8A4BA

Accessibility & contrast

On white

4.47
#D04270 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#D04270 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04270
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04270#FFFFFF#000000##000000
##D042701.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#616571
Deuteranopia (green-blind)
#87816D
Tritanopia (blue-blind)
#E22C55
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d04270;
/* rgb */ color: rgb(208, 66, 112);
/* oklch */ color: oklch(59.3% 0.181 4.8);
Tailwind
colors: {
  custom: {
    50: '#e48098',
    500: '#d04270',
    950: '#000000',
  },
}
SCSS
$custom: #d04270;
$custom-light: #e48098;
$custom-dark: #000000;
JSON
{
  "hex": "#d04270",
  "rgb": {
    "r": 208,
    "g": 66,
    "b": 112
  },
  "hsl": {
    "h": 340.563,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59299,
    "c": 0.18069,
    "h": 4.8
  },
  "luminance": 0.18476
}

Semantic roles & 50–950 ramp

primary
#D04270
secondary
#99D5C2
accent
#E3B044
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #D04270

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

Preview Lab → · Contrast checker → · Palette generator →

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