#D04272#D04272

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

Color values

HEX#D04272
RGBrgb(208, 66, 114)
HSLhsl(340, 60%, 54%)
HSVhsv(340, 68%, 82%)
CMYKcmyk(0%, 68.3%, 45.2%, 18.4%)
CIE-LABlab(50.13, 59.15, 4.53)
CIE-LCHlch(50.13, 59.32, 4.38°)
OKLaboklab(59.36% 0.1808 0.0123)
OKLCHoklch(59.36% 0.181 3.9)
XYZxyz(31.0003, 18.5251, 17.8596)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04272 #42D0A0
analogous
#D042B9 #D04272 #D05942
triadic
#D04272 #72D042 #4272D0
tetradic
#D04272 #B9D042 #42D0A0 #5942D0
square
#D04272 #B9D042 #42D0A0 #5942D0
split-complementary
#D04272 #42D059 #42B9D0
monochromatic
#791E3D #AA2A56 #D04272 #DC7397 #E8A4BB

Accessibility & contrast

On white

4.46
#D04272 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D04272#FFFFFF#000000##000000
##D042721.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#616673
Deuteranopia (green-blind)
#86816F
Tritanopia (blue-blind)
#E22D55
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d04272;
/* rgb */ color: rgb(208, 66, 114);
/* oklch */ color: oklch(59.4% 0.181 3.9);
Tailwind
colors: {
  custom: {
    50: '#e4809a',
    500: '#d04272',
    950: '#000000',
  },
}
SCSS
$custom: #d04272;
$custom-light: #e4809a;
$custom-dark: #000000;
JSON
{
  "hex": "#d04272",
  "rgb": {
    "r": 208,
    "g": 66,
    "b": 114
  },
  "hsl": {
    "h": 339.718,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59356,
    "c": 0.18119,
    "h": 3.9
  },
  "luminance": 0.18521
}

Semantic roles & 50–950 ramp

primary
#D04272
secondary
#99D5C1
accent
#E3AE44
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D04272

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

Preview Lab → · Contrast checker → · Palette generator →

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