#C8339C#C8339C

#C8339C is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.3% C 0.211 H 342.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C8339C
RGBrgb(200, 51, 156)
HSLhsl(318, 59%, 49%)
HSVhsv(318, 75%, 78%)
CMYKcmyk(0%, 74.5%, 22%, 21.6%)
CIE-LABlab(48.32, 66.94, -23.58)
CIE-LCHlch(48.32, 70.97, 340.59°)
OKLaboklab(58.25% 0.2014 -0.0632)
OKLCHoklch(58.25% 0.211 342.6)
XYZxyz(31.0051, 17.0505, 33.1043)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8339C #33C85F
analogous
#AA33C8 #C8339C #C83352
triadic
#C8339C #9CC833 #339CC8
tetradic
#C8339C #C8AA33 #33C85F #3352C8
square
#C8339C #C8AA33 #33C85F #3352C8
split-complementary
#C8339C #52C833 #33C8AA
monochromatic
#661A50 #972776 #C8339C #D761B4 #E392CB

Accessibility & contrast

On white

4.76
#C8339C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C8339C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C8339C
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8339C#FFFFFF#000000##FFFFFF
##C8339C1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42639F
Deuteranopia (green-blind)
#717B99
Tritanopia (blue-blind)
#D53464
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c8339c;
/* rgb */ color: rgb(200, 51, 156);
/* oklch */ color: oklch(58.3% 0.211 342.6);
Tailwind
colors: {
  custom: {
    50: '#dd79b9',
    500: '#c8339c',
    950: '#000000',
  },
}
SCSS
$custom: #c8339c;
$custom-light: #dd79b9;
$custom-dark: #000000;
JSON
{
  "hex": "#c8339c",
  "rgb": {
    "r": 200,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 317.718,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5825,
    "c": 0.21108,
    "h": 342.6
  },
  "luminance": 0.17047
}

Semantic roles & 50–950 ramp

primary
#C8339C
secondary
#89CE9D
accent
#E37445
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #C8339C

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

Preview Lab → · Contrast checker → · Palette generator →

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