#C8336A#C8336A

#C8336A is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.4% C 0.189 H 3.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C8336A
RGBrgb(200, 51, 106)
HSLhsl(338, 59%, 49%)
HSVhsv(338, 75%, 78%)
CMYKcmyk(0%, 74.5%, 47%, 21.6%)
CIE-LABlab(46.57, 61.44, 4.11)
CIE-LCHlch(46.57, 61.58, 3.82°)
OKLaboklab(56.39% 0.1882 0.0112)
OKLCHoklch(56.39% 0.189 3.4)
XYZxyz(27.6070, 15.6913, 15.2079)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8336A #33C891
analogous
#C833B5 #C8336A #C84633
triadic
#C8336A #6AC833 #336AC8
tetradic
#C8336A #B5C833 #33C891 #4633C8
square
#C8336A #B5C833 #33C891 #4633C8
split-complementary
#C8336A #33C846 #33B5C8
monochromatic
#661A36 #972750 #C8336A #D7618D #E392B0

Accessibility & contrast

On white

5.08
#C8336A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#C8336A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C8336A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8336A#FFFFFF#000000##FFFFFF
##C8336A1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565C6B
Deuteranopia (green-blind)
#7E7966
Tritanopia (blue-blind)
#D9144B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c8336a;
/* rgb */ color: rgb(200, 51, 106);
/* oklch */ color: oklch(56.4% 0.189 3.4);
Tailwind
colors: {
  custom: {
    50: '#df7894',
    500: '#c8336a',
    950: '#000000',
  },
}
SCSS
$custom: #c8336a;
$custom-light: #df7894;
$custom-dark: #000000;
JSON
{
  "hex": "#c8336a",
  "rgb": {
    "r": 200,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 337.852,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56392,
    "c": 0.1885,
    "h": 3.4
  },
  "luminance": 0.15688
}

Semantic roles & 50–950 ramp

primary
#C8336A
secondary
#89CEB4
accent
#E3A845
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #C8336A

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

Preview Lab → · Contrast checker → · Palette generator →

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