#D4335F#D4335F

#D4335F is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.1% C 0.197 H 10.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#D4335F
RGBrgb(212, 51, 95)
HSLhsl(344, 65%, 52%)
HSVhsv(344, 76%, 83%)
CMYKcmyk(0%, 75.9%, 55.2%, 16.9%)
CIE-LABlab(48.51, 63.91, 13.90)
CIE-LCHlch(48.51, 65.41, 12.27°)
OKLaboklab(58.13% 0.1938 0.0351)
OKLCHoklch(58.13% 0.197 10.3)
XYZxyz(30.4037, 17.1953, 12.5423)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4335F #33D4A8
analogous
#D433B0 #D4335F #D45833
triadic
#D4335F #5FD433 #335FD4
tetradic
#D4335F #B0D433 #33D4A8 #5833D4
square
#D4335F #B0D433 #33D4A8 #5833D4
split-complementary
#D4335F #33D458 #33B0D4
monochromatic
#741832 #A72347 #D4335F #DF6687 #E998AE

Accessibility & contrast

On white

4.73
#D4335F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#D4335F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D4335F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4335F#FFFFFF#000000##FFFFFF
##D4335F1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5E60
Deuteranopia (green-blind)
#887F5B
Tritanopia (blue-blind)
#E80046
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #d4335f;
/* rgb */ color: rgb(212, 51, 95);
/* oklch */ color: oklch(58.1% 0.197 10.3);
Tailwind
colors: {
  custom: {
    50: '#e8798c',
    500: '#d4335f',
    950: '#000000',
  },
}
SCSS
$custom: #d4335f;
$custom-light: #e8798c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4335f",
  "rgb": {
    "r": 212,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 343.602,
    "s": 65.182,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58134,
    "c": 0.19697,
    "h": 10.3
  },
  "luminance": 0.17191
}

Semantic roles & 50–950 ramp

primary
#D4335F
secondary
#8ED5C1
accent
#E8BA40
background
#FFF7F8
surface
#FEEEF0
border
#D6C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #D4335F

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

Preview Lab → · Contrast checker → · Palette generator →

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