#D3336F#D3336F

#D3336F is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.4% C 0.199 H 3.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#D3336F
RGBrgb(211, 51, 111)
HSLhsl(338, 65%, 51%)
HSVhsv(338, 76%, 83%)
CMYKcmyk(0%, 75.8%, 47.4%, 17.3%)
CIE-LABlab(48.72, 64.91, 4.40)
CIE-LCHlch(48.72, 65.06, 3.88°)
OKLaboklab(58.39% 0.1988 0.012)
OKLCHoklch(58.39% 0.199 3.4)
XYZxyz(30.9196, 17.3684, 16.7601)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3336F #33D397
analogous
#D333BF #D3336F #D34733
triadic
#D3336F #6FD333 #336FD3
tetradic
#D3336F #BFD333 #33D397 #4733D3
square
#D3336F #BFD333 #33D397 #4733D3
split-complementary
#D3336F #33D347 #33BFD3
monochromatic
#73193B #A52454 #D3336F #DE6593 #E998B6

Accessibility & contrast

On white

4.70
#D3336F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#D3336F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D3336F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3336F#FFFFFF#000000##FFFFFF
##D3336F1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6070
Deuteranopia (green-blind)
#847F6B
Tritanopia (blue-blind)
#E50B4D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d3336f;
/* rgb */ color: rgb(211, 51, 111);
/* oklch */ color: oklch(58.4% 0.199 3.4);
Tailwind
colors: {
  custom: {
    50: '#e77998',
    500: '#d3336f',
    950: '#000000',
  },
}
SCSS
$custom: #d3336f;
$custom-light: #e77998;
$custom-dark: #000000;
JSON
{
  "hex": "#d3336f",
  "rgb": {
    "r": 211,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 337.5,
    "s": 64.516,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5839,
    "c": 0.1992,
    "h": 3.4
  },
  "luminance": 0.17364
}

Semantic roles & 50–950 ramp

primary
#D3336F
secondary
#8ED4BA
accent
#E8A940
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #D3336F

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

Preview Lab → · Contrast checker → · Palette generator →

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