#D0307F#D0307F

#D0307F is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.2% C 0.205 H 355.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#D0307F
RGBrgb(208, 48, 127)
HSLhsl(330, 63%, 50%)
HSVhsv(330, 77%, 82%)
CMYKcmyk(0%, 76.9%, 38.9%, 18.4%)
CIE-LABlab(48.34, 66.50, -5.97)
CIE-LCHlch(48.34, 66.77, 354.87°)
OKLaboklab(58.16% 0.2044 -0.0149)
OKLCHoklch(58.16% 0.205 355.8)
XYZxyz(30.9023, 17.0600, 21.7402)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0307F #30D081
analogous
#D030CF #D0307F #D03130
triadic
#D0307F #7FD030 #307FD0
tetradic
#D0307F #CFD030 #30D081 #3130D0
square
#D0307F #CFD030 #30D081 #3130D0
split-complementary
#D0307F #30D031 #30CFD0
monochromatic
#6D1942 #9F2461 #D0307F #DB629E #E794BD

Accessibility & contrast

On white

4.76
#D0307F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#D0307F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D0307F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0307F#FFFFFF#000000##FFFFFF
##D0307F1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526081
Deuteranopia (green-blind)
#7E7D7B
Tritanopia (blue-blind)
#E11854
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #d0307f;
/* rgb */ color: rgb(208, 48, 127);
/* oklch */ color: oklch(58.2% 0.205 355.8);
Tailwind
colors: {
  custom: {
    50: '#e478a4',
    500: '#d0307f',
    950: '#000000',
  },
}
SCSS
$custom: #d0307f;
$custom-light: #e478a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d0307f",
  "rgb": {
    "r": 208,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 330.375,
    "s": 62.992,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58164,
    "c": 0.20497,
    "h": 355.8
  },
  "luminance": 0.17056
}

Semantic roles & 50–950 ramp

primary
#D0307F
secondary
#8AD2AE
accent
#E69542
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D0307F

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

Preview Lab → · Contrast checker → · Palette generator →

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