#C8336B#C8336B

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

Color values

HEX#C8336B
RGBrgb(200, 51, 107)
HSLhsl(337, 59%, 49%)
HSVhsv(337, 75%, 78%)
CMYKcmyk(0%, 74.5%, 46.5%, 21.6%)
CIE-LABlab(46.59, 61.53, 3.53)
CIE-LCHlch(46.59, 61.63, 3.28°)
OKLaboklab(56.42% 0.1885 0.0097)
OKLCHoklch(56.42% 0.189 3)
XYZxyz(27.6593, 15.7122, 15.4833)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8336B #33C890
analogous
#C833B6 #C8336B #C84633
triadic
#C8336B #6BC833 #336BC8
tetradic
#C8336B #B6C833 #33C890 #4633C8
square
#C8336B #B6C833 #33C890 #4633C8
split-complementary
#C8336B #33C846 #33B6C8
monochromatic
#661A37 #972751 #C8336B #D7618E #E392B1

Accessibility & contrast

On white

5.07
#C8336B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C8336B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8336B#FFFFFF#000000##FFFFFF
##C8336B1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8336b;
/* rgb */ color: rgb(200, 51, 107);
/* oklch */ color: oklch(56.4% 0.189 3.0);
Tailwind
colors: {
  custom: {
    50: '#df7895',
    500: '#c8336b',
    950: '#000000',
  },
}
SCSS
$custom: #c8336b;
$custom-light: #df7895;
$custom-dark: #000000;
JSON
{
  "hex": "#c8336b",
  "rgb": {
    "r": 200,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 337.45,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56421,
    "c": 0.18877,
    "h": 3
  },
  "luminance": 0.15709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8336B

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

Preview Lab → · Contrast checker → · Palette generator →

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