#C03A8D#C03A8D

#C03A8D is a mid, vivid pink. Relative luminance 0.162; OKLCH L 57.0% C 0.189 H 346.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C03A8D
RGBrgb(192, 58, 141)
HSLhsl(323, 54%, 49%)
HSVhsv(323, 70%, 75%)
CMYKcmyk(0%, 69.8%, 26.6%, 24.7%)
CIE-LABlab(47.18, 60.60, -16.46)
CIE-LCHlch(47.18, 62.79, 344.80°)
OKLaboklab(56.96% 0.1837 -0.0435)
OKLCHoklch(56.96% 0.189 346.7)
XYZxyz(28.0602, 16.1586, 26.8353)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03A8D #3AC06D
analogous
#B03AC0 #C03A8D #C03A4A
triadic
#C03A8D #8DC03A #3A8DC0
tetradic
#C03A8D #C0B03A #3AC06D #3A4AC0
square
#C03A8D #C0B03A #3AC06D #3A4AC0
split-complementary
#C03A8D #4AC03A #3AC0B0
monochromatic
#621E48 #912C6A #C03A8D #D166A8 #DF95C3

Accessibility & contrast

On white

4.96
#C03A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#C03A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03A8D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03A8D#FFFFFF#000000##FFFFFF
##C03A8D1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B618F
Deuteranopia (green-blind)
#72788A
Tritanopia (blue-blind)
#CD365E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c03a8d;
/* rgb */ color: rgb(192, 58, 141);
/* oklch */ color: oklch(57.0% 0.189 346.7);
Tailwind
colors: {
  custom: {
    50: '#d77bae',
    500: '#c03a8d',
    950: '#000000',
  },
}
SCSS
$custom: #c03a8d;
$custom-light: #d77bae;
$custom-dark: #000000;
JSON
{
  "hex": "#c03a8d",
  "rgb": {
    "r": 192,
    "g": 58,
    "b": 141
  },
  "hsl": {
    "h": 322.836,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56961,
    "c": 0.18881,
    "h": 346.7
  },
  "luminance": 0.16156
}

Semantic roles & 50–950 ramp

primary
#C03A8D
secondary
#8BCAA3
accent
#DD824B
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C03A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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