#D8307F#D8307F

#D8307F is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.5% C 0.211 H 357.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#D8307F
RGBrgb(216, 48, 127)
HSLhsl(332, 68%, 52%)
HSVhsv(332, 78%, 85%)
CMYKcmyk(0%, 77.8%, 41.2%, 15.3%)
CIE-LABlab(49.80, 68.55, -3.65)
CIE-LCHlch(49.80, 68.65, 356.96°)
OKLaboklab(59.5% 0.2108 -0.0087)
OKLCHoklch(59.5% 0.211 357.6)
XYZxyz(33.2091, 18.2495, 21.8483)
Luminance0.1825 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8307F #30D889
analogous
#D830D3 #D8307F #D83530
triadic
#D8307F #7FD830 #307FD8
tetradic
#D8307F #D3D830 #30D889 #3530D8
square
#D8307F #D3D830 #30D889 #3530D8
split-complementary
#D8307F #30D835 #30D3D8
monochromatic
#771644 #AB2061 #D8307F #E2639F #EB97BF

Accessibility & contrast

On white

4.52
#D8307F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#D8307F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8307F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8307F#FFFFFF#000000##000000
##D8307F1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#566281
Deuteranopia (green-blind)
#84827B
Tritanopia (blue-blind)
#EA1054
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d8307f;
/* rgb */ color: rgb(216, 48, 127);
/* oklch */ color: oklch(59.5% 0.211 357.6);
Tailwind
colors: {
  custom: {
    50: '#ea79a4',
    500: '#d8307f',
    950: '#000000',
  },
}
SCSS
$custom: #d8307f;
$custom-light: #ea79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8307f",
  "rgb": {
    "r": 216,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 331.786,
    "s": 68.293,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59499,
    "c": 0.21101,
    "h": 357.6
  },
  "luminance": 0.18245
}

Semantic roles & 50–950 ramp

primary
#D8307F
secondary
#8DD7B4
accent
#EB993D
background
#FFF7FA
surface
#FEEEF3
border
#D6C9CD
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D8307F

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

Preview Lab → · Contrast checker → · Palette generator →

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