#D6338F#D6338F

#D6338F is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 60.0% C 0.213 H 351.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#D6338F
RGBrgb(214, 51, 143)
HSLhsl(326, 67%, 52%)
HSVhsv(326, 76%, 84%)
CMYKcmyk(0%, 76.2%, 33.2%, 16.1%)
CIE-LABlab(50.28, 68.83, -12.61)
CIE-LCHlch(50.28, 69.97, 349.62°)
OKLaboklab(59.96% 0.2109 -0.0327)
OKLCHoklch(59.96% 0.213 351.2)
XYZxyz(33.8753, 18.6510, 27.7974)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6338F #33D67A
analogous
#CC33D6 #D6338F #D6333E
triadic
#D6338F #8FD633 #338FD6
tetradic
#D6338F #D6CC33 #33D67A #333ED6
square
#D6338F #D6CC33 #33D67A #333ED6
split-complementary
#D6338F #3ED633 #33D6CC
monochromatic
#77184D #AA226F #D6338F #E066AB #EA99C7

Accessibility & contrast

On white

4.44
#D6338F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#D6338F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D6338F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6338F#FFFFFF#000000##000000
##D6338F1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#506591
Deuteranopia (green-blind)
#7F828B
Tritanopia (blue-blind)
#E6255D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d6338f;
/* rgb */ color: rgb(214, 51, 143);
/* oklch */ color: oklch(60.0% 0.213 351.2);
Tailwind
colors: {
  custom: {
    50: '#e87baf',
    500: '#d6338f',
    950: '#000000',
  },
}
SCSS
$custom: #d6338f;
$custom-light: #e87baf;
$custom-dark: #000000;
JSON
{
  "hex": "#d6338f",
  "rgb": {
    "r": 214,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 326.135,
    "s": 66.531,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59959,
    "c": 0.21341,
    "h": 351.2
  },
  "luminance": 0.18647
}

Semantic roles & 50–950 ramp

primary
#D6338F
secondary
#8FD6AE
accent
#E9893E
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170A10
muted
#857C7F

Preview Lab

Preview with #D6338F

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

Preview Lab → · Contrast checker → · Palette generator →

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