#D4305F#D4305F

#D4305F is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.9% C 0.200 H 9.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#D4305F
RGBrgb(212, 48, 95)
HSLhsl(343, 66%, 51%)
HSVhsv(343, 77%, 83%)
CMYKcmyk(0%, 77.4%, 55.2%, 16.9%)
CIE-LABlab(48.19, 64.81, 13.46)
CIE-LCHlch(48.19, 66.19, 11.73°)
OKLaboklab(57.9% 0.1967 0.034)
OKLCHoklch(57.9% 0.2 9.8)
XYZxyz(30.2768, 16.9415, 12.5000)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4305F #30D4A5
analogous
#D430B1 #D4305F #D45330
triadic
#D4305F #5FD430 #305FD4
tetradic
#D4305F #B1D430 #30D4A5 #5330D4
square
#D4305F #B1D430 #30D4A5 #5330D4
split-complementary
#D4305F #30D453 #30B1D4
monochromatic
#721832 #A52248 #D4305F #DF6386 #E995AD

Accessibility & contrast

On white

4.79
#D4305F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#D4305F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D4305F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4305F#FFFFFF#000000##FFFFFF
##D4305F1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5D60
Deuteranopia (green-blind)
#877E5B
Tritanopia (blue-blind)
#E80044
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d4305f;
/* rgb */ color: rgb(212, 48, 95);
/* oklch */ color: oklch(57.9% 0.200 9.8);
Tailwind
colors: {
  custom: {
    50: '#e8788c',
    500: '#d4305f',
    950: '#000000',
  },
}
SCSS
$custom: #d4305f;
$custom-light: #e8788c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4305f",
  "rgb": {
    "r": 212,
    "g": 48,
    "b": 95
  },
  "hsl": {
    "h": 342.805,
    "s": 65.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57898,
    "c": 0.19964,
    "h": 9.8
  },
  "luminance": 0.16937
}

Semantic roles & 50–950 ramp

primary
#D4305F
secondary
#8CD4BF
accent
#E9B83F
background
#FFF7F8
surface
#FFEEF0
border
#D7C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #D4305F

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

Preview Lab → · Contrast checker → · Palette generator →

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