#C8339B#C8339B

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

Color values

HEX#C8339B
RGBrgb(200, 51, 155)
HSLhsl(318, 59%, 49%)
HSVhsv(318, 75%, 78%)
CMYKcmyk(0%, 74.5%, 22.5%, 21.6%)
CIE-LABlab(48.28, 66.81, -23.05)
CIE-LCHlch(48.28, 70.67, 340.96°)
OKLaboklab(58.21% 0.2012 -0.0617)
OKLCHoklch(58.21% 0.21 342.9)
XYZxyz(30.9208, 17.0168, 32.6602)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8339B #33C860
analogous
#AB33C8 #C8339B #C83350
triadic
#C8339B #9BC833 #339BC8
tetradic
#C8339B #C8AB33 #33C860 #3350C8
square
#C8339B #C8AB33 #33C860 #3350C8
split-complementary
#C8339B #50C833 #33C8AB
monochromatic
#661A4F #972775 #C8339B #D761B3 #E392CB

Accessibility & contrast

On white

4.77
#C8339B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C8339B
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8339B#FFFFFF#000000##FFFFFF
##C8339B1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43639E
Deuteranopia (green-blind)
#717B98
Tritanopia (blue-blind)
#D53463
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c8339b;
/* rgb */ color: rgb(200, 51, 155);
/* oklch */ color: oklch(58.2% 0.210 342.9);
Tailwind
colors: {
  custom: {
    50: '#dd79b8',
    500: '#c8339b',
    950: '#000000',
  },
}
SCSS
$custom: #c8339b;
$custom-light: #dd79b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c8339b",
  "rgb": {
    "r": 200,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 318.121,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58205,
    "c": 0.21049,
    "h": 342.9
  },
  "luminance": 0.17014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8339B

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

Preview Lab → · Contrast checker → · Palette generator →

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