#C8338B#C8338B

#C8338B is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.5% C 0.202 H 349.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C8338B
RGBrgb(200, 51, 139)
HSLhsl(325, 59%, 49%)
HSVhsv(325, 75%, 78%)
CMYKcmyk(0%, 74.5%, 30.5%, 21.6%)
CIE-LABlab(47.64, 64.84, -14.43)
CIE-LCHlch(47.64, 66.43, 347.46°)
OKLaboklab(57.53% 0.198 -0.0378)
OKLCHoklch(57.53% 0.202 349.2)
XYZxyz(29.6650, 16.5145, 26.0465)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8338B #33C870
analogous
#BB33C8 #C8338B #C83340
triadic
#C8338B #8BC833 #338BC8
tetradic
#C8338B #C8BB33 #33C870 #3340C8
square
#C8338B #C8BB33 #33C870 #3340C8
split-complementary
#C8338B #40C833 #33C8BB
monochromatic
#661A47 #972769 #C8338B #D761A7 #E392C2

Accessibility & contrast

On white

4.88
#C8338B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#C8338B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C8338B
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8338B#FFFFFF#000000##FFFFFF
##C8338B1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608D
Deuteranopia (green-blind)
#767A88
Tritanopia (blue-blind)
#D72A5B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c8338b;
/* rgb */ color: rgb(200, 51, 139);
/* oklch */ color: oklch(57.5% 0.202 349.2);
Tailwind
colors: {
  custom: {
    50: '#dd79ad',
    500: '#c8338b',
    950: '#000000',
  },
}
SCSS
$custom: #c8338b;
$custom-light: #dd79ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c8338b",
  "rgb": {
    "r": 200,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 324.564,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57532,
    "c": 0.20155,
    "h": 349.2
  },
  "luminance": 0.16511
}

Semantic roles & 50–950 ramp

primary
#C8338B
secondary
#89CEA5
accent
#E38645
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #C8338B

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

Preview Lab → · Contrast checker → · Palette generator →

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