#D4307C#D4307C

#D4307C is a mid, highly saturated pink. Relative luminance 0.176; OKLCH L 58.7% C 0.207 H 358.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#D4307C
RGBrgb(212, 48, 124)
HSLhsl(332, 66%, 51%)
HSVhsv(332, 77%, 83%)
CMYKcmyk(0%, 77.4%, 41.5%, 16.9%)
CIE-LABlab(48.97, 67.24, -3.13)
CIE-LCHlch(48.97, 67.31, 357.34°)
OKLaboklab(58.73% 0.2068 -0.0074)
OKLCHoklch(58.73% 0.207 358)
XYZxyz(31.8488, 17.5703, 20.7792)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4307C #30D488
analogous
#D430CE #D4307C #D43630
triadic
#D4307C #7CD430 #307CD4
tetradic
#D4307C #CED430 #30D488 #3630D4
square
#D4307C #CED430 #30D488 #3630D4
split-complementary
#D4307C #30D436 #30CED4
monochromatic
#721841 #A5225F #D4307C #DF639C #E995BC

Accessibility & contrast

On white

4.65
#D4307C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#D4307C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D4307C
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4307C#FFFFFF#000000##FFFFFF
##D4307C1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617E
Deuteranopia (green-blind)
#817F78
Tritanopia (blue-blind)
#E61152
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d4307c;
/* rgb */ color: rgb(212, 48, 124);
/* oklch */ color: oklch(58.7% 0.207 358.0);
Tailwind
colors: {
  custom: {
    50: '#e779a1',
    500: '#d4307c',
    950: '#000000',
  },
}
SCSS
$custom: #d4307c;
$custom-light: #e779a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d4307c",
  "rgb": {
    "r": 212,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 332.195,
    "s": 65.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58731,
    "c": 0.20688,
    "h": 358
  },
  "luminance": 0.17566
}

Semantic roles & 50–950 ramp

primary
#D4307C
secondary
#8CD4B3
accent
#E99A3F
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0F
muted
#857C7E

Preview Lab

Preview with #D4307C

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

Preview Lab → · Contrast checker → · Palette generator →

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