#C8338A#C8338A

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

Color values

HEX#C8338A
RGBrgb(200, 51, 138)
HSLhsl(325, 59%, 49%)
HSVhsv(325, 75%, 78%)
CMYKcmyk(0%, 74.5%, 31%, 21.6%)
CIE-LABlab(47.60, 64.72, -13.88)
CIE-LCHlch(47.60, 66.19, 347.90°)
OKLaboklab(57.49% 0.1977 -0.0363)
OKLCHoklch(57.49% 0.201 349.6)
XYZxyz(29.5923, 16.4854, 25.6634)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8338A #33C871
analogous
#BC33C8 #C8338A #C83340
triadic
#C8338A #8AC833 #338AC8
tetradic
#C8338A #C8BC33 #33C871 #3340C8
square
#C8338A #C8BC33 #33C871 #3340C8
split-complementary
#C8338A #40C833 #33C8BC
monochromatic
#661A47 #972768 #C8338A #D761A6 #E392C2

Accessibility & contrast

On white

4.89
#C8338A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C8338A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8338A#FFFFFF#000000##FFFFFF
##C8338A1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608C
Deuteranopia (green-blind)
#767A87
Tritanopia (blue-blind)
#D72A5A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c8338a;
/* rgb */ color: rgb(200, 51, 138);
/* oklch */ color: oklch(57.5% 0.201 349.6);
Tailwind
colors: {
  custom: {
    50: '#dd79ac',
    500: '#c8338a',
    950: '#000000',
  },
}
SCSS
$custom: #c8338a;
$custom-light: #dd79ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c8338a",
  "rgb": {
    "r": 200,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 324.966,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57493,
    "c": 0.20104,
    "h": 349.6
  },
  "luminance": 0.16482
}

Semantic roles & 50–950 ramp

primary
#C8338A
secondary
#89CEA6
accent
#E38745
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #C8338A

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

Preview Lab → · Contrast checker → · Palette generator →

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