#D33871#D33871

#D33871 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.9% C 0.195 H 3.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#D33871
RGBrgb(211, 56, 113)
HSLhsl(338, 64%, 52%)
HSVhsv(338, 73%, 83%)
CMYKcmyk(0%, 73.5%, 46.4%, 17.3%)
CIE-LABlab(49.34, 63.49, 4.08)
CIE-LCHlch(49.34, 63.62, 3.68°)
OKLaboklab(58.87% 0.1944 0.0111)
OKLCHoklch(58.87% 0.195 3.3)
XYZxyz(31.2613, 17.8736, 17.4234)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D33871 #38D39A
analogous
#D338BF #D33871 #D34C38
triadic
#D33871 #71D338 #3871D3
tetradic
#D33871 #BFD338 #38D39A #4C38D3
square
#D33871 #BFD338 #38D39A #4C38D3
split-complementary
#D33871 #38D34C #38BFD3
monochromatic
#761A3C #A92556 #D33871 #DE6A95 #E99CB9

Accessibility & contrast

On white

4.59
#D33871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#D33871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D33871
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D33871#FFFFFF#000000##FFFFFF
##D338711.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6272
Deuteranopia (green-blind)
#85806D
Tritanopia (blue-blind)
#E51A50
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d33871;
/* rgb */ color: rgb(211, 56, 113);
/* oklch */ color: oklch(58.9% 0.195 3.3);
Tailwind
colors: {
  custom: {
    50: '#e67b99',
    500: '#d33871',
    950: '#000000',
  },
}
SCSS
$custom: #d33871;
$custom-light: #e67b99;
$custom-dark: #000000;
JSON
{
  "hex": "#d33871",
  "rgb": {
    "r": 211,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 337.935,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58865,
    "c": 0.19474,
    "h": 3.3
  },
  "luminance": 0.17869
}

Semantic roles & 50–950 ramp

primary
#D33871
secondary
#92D5BC
accent
#E7AA41
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #D33871

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

Preview Lab → · Contrast checker → · Palette generator →

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