#C8339A#C8339A

#C8339A is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.2% C 0.210 H 343.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C8339A
RGBrgb(200, 51, 154)
HSLhsl(319, 59%, 49%)
HSVhsv(319, 75%, 78%)
CMYKcmyk(0%, 74.5%, 23%, 21.6%)
CIE-LABlab(48.24, 66.68, -22.52)
CIE-LCHlch(48.24, 70.38, 341.34°)
OKLaboklab(58.16% 0.2011 -0.0602)
OKLCHoklch(58.16% 0.21 343.3)
XYZxyz(30.8371, 16.9834, 32.2197)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8339A #33C861
analogous
#AC33C8 #C8339A #C83350
triadic
#C8339A #9AC833 #339AC8
tetradic
#C8339A #C8AC33 #33C861 #3350C8
square
#C8339A #C8AC33 #33C861 #3350C8
split-complementary
#C8339A #50C833 #33C8AC
monochromatic
#661A4F #972774 #C8339A #D761B3 #E392CA

Accessibility & contrast

On white

4.78
#C8339A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C8339A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C8339A
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8339A#FFFFFF#000000##FFFFFF
##C8339A1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43639D
Deuteranopia (green-blind)
#727B97
Tritanopia (blue-blind)
#D53363
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c8339a;
/* rgb */ color: rgb(200, 51, 154);
/* oklch */ color: oklch(58.2% 0.210 343.3);
Tailwind
colors: {
  custom: {
    50: '#dd79b8',
    500: '#c8339a',
    950: '#000000',
  },
}
SCSS
$custom: #c8339a;
$custom-light: #dd79b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c8339a",
  "rgb": {
    "r": 200,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 318.523,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58161,
    "c": 0.20988,
    "h": 343.3
  },
  "luminance": 0.1698
}

Semantic roles & 50–950 ramp

primary
#C8339A
secondary
#89CE9E
accent
#E37645
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #C8339A

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

Preview Lab → · Contrast checker → · Palette generator →

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