#D04274#D04274

#D04274 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.4% C 0.182 H 3.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#D04274
RGBrgb(208, 66, 116)
HSLhsl(339, 60%, 54%)
HSVhsv(339, 68%, 82%)
CMYKcmyk(0%, 68.3%, 44.2%, 18.4%)
CIE-LABlab(50.18, 59.33, 3.40)
CIE-LCHlch(50.18, 59.43, 3.28°)
OKLaboklab(59.41% 0.1815 0.0094)
OKLCHoklch(59.41% 0.182 3)
XYZxyz(31.1154, 18.5712, 18.4657)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04274 #42D09E
analogous
#D042BB #D04274 #D05742
triadic
#D04274 #74D042 #4274D0
tetradic
#D04274 #BBD042 #42D09E #5742D0
square
#D04274 #BBD042 #42D09E #5742D0
split-complementary
#D04274 #42D057 #42BBD0
monochromatic
#791E3E #AA2A57 #D04274 #DC7398 #E8A4BC

Accessibility & contrast

On white

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

On black

4.71
#D04274 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04274
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04274#FFFFFF#000000##000000
##D042741.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#606675
Deuteranopia (green-blind)
#868271
Tritanopia (blue-blind)
#E12E56
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d04274;
/* rgb */ color: rgb(208, 66, 116);
/* oklch */ color: oklch(59.4% 0.182 3.0);
Tailwind
colors: {
  custom: {
    50: '#e4809b',
    500: '#d04274',
    950: '#000000',
  },
}
SCSS
$custom: #d04274;
$custom-light: #e4809b;
$custom-dark: #000000;
JSON
{
  "hex": "#d04274",
  "rgb": {
    "r": 208,
    "g": 66,
    "b": 116
  },
  "hsl": {
    "h": 338.873,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59414,
    "c": 0.18172,
    "h": 3
  },
  "luminance": 0.18567
}

Semantic roles & 50–950 ramp

primary
#D04274
secondary
#99D5C0
accent
#E3AB44
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D04274

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

Preview Lab → · Contrast checker → · Palette generator →

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