#D6338D#D6338D

#D6338D is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 59.9% C 0.212 H 352.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#D6338D
RGBrgb(214, 51, 141)
HSLhsl(327, 67%, 52%)
HSVhsv(327, 76%, 84%)
CMYKcmyk(0%, 76.2%, 34.1%, 16.1%)
CIE-LABlab(50.21, 68.61, -11.51)
CIE-LCHlch(50.21, 69.57, 350.47°)
OKLaboklab(59.88% 0.2104 -0.0297)
OKLCHoklch(59.88% 0.212 352)
XYZxyz(33.7251, 18.5910, 27.0066)
Luminance0.1859 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6338D #33D67C
analogous
#CE33D6 #D6338D #D6333C
triadic
#D6338D #8DD633 #338DD6
tetradic
#D6338D #D6CE33 #33D67C #333CD6
square
#D6338D #D6CE33 #33D67C #333CD6
split-complementary
#D6338D #3CD633 #33D6CE
monochromatic
#77184C #AA226D #D6338D #E066A9 #EA99C6

Accessibility & contrast

On white

4.45
#D6338D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#D6338D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D6338D
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6338D#FFFFFF#000000##000000
##D6338D1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#51658F
Deuteranopia (green-blind)
#808289
Tritanopia (blue-blind)
#E6245C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d6338d;
/* rgb */ color: rgb(214, 51, 141);
/* oklch */ color: oklch(59.9% 0.212 352.0);
Tailwind
colors: {
  custom: {
    50: '#e87bae',
    500: '#d6338d',
    950: '#000000',
  },
}
SCSS
$custom: #d6338d;
$custom-light: #e87bae;
$custom-dark: #000000;
JSON
{
  "hex": "#d6338d",
  "rgb": {
    "r": 214,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 326.871,
    "s": 66.531,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59884,
    "c": 0.21248,
    "h": 352
  },
  "luminance": 0.18587
}

Semantic roles & 50–950 ramp

primary
#D6338D
secondary
#8FD6AF
accent
#E98B3E
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170A10
muted
#857C7F

Preview Lab

Preview with #D6338D

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

Preview Lab → · Contrast checker → · Palette generator →

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