#C03FA6#C03FA6

#C03FA6 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.6% C 0.199 H 336.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C03FA6
RGBrgb(192, 63, 166)
HSLhsl(312, 51%, 50%)
HSVhsv(312, 67%, 75%)
CMYKcmyk(0%, 67.2%, 13.5%, 24.7%)
CIE-LABlab(48.91, 62.17, -28.72)
CIE-LCHlch(48.91, 68.48, 335.21°)
OKLaboklab(58.56% 0.1826 -0.078)
OKLCHoklch(58.56% 0.199 336.9)
XYZxyz(30.3991, 17.5173, 37.8491)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03FA6 #3FC059
analogous
#993FC0 #C03FA6 #C03F66
triadic
#C03FA6 #A6C03F #3FA6C0
tetradic
#C03FA6 #C0993F #3FC059 #3F66C0
square
#C03FA6 #C0993F #3FC059 #3F66C0
split-complementary
#C03FA6 #66C03F #3FC099
monochromatic
#642156 #92307E #C03FA6 #CF6DBB #DE9BD1

Accessibility & contrast

On white

4.66
#C03FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#C03FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C03FA6
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03FA6#FFFFFF#000000##FFFFFF
##C03FA61.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4268A9
Deuteranopia (green-blind)
#6C7BA3
Tritanopia (blue-blind)
#CA466D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c03fa6;
/* rgb */ color: rgb(192, 63, 166);
/* oklch */ color: oklch(58.6% 0.199 336.9);
Tailwind
colors: {
  custom: {
    50: '#d67ec0',
    500: '#c03fa6',
    950: '#000000',
  },
}
SCSS
$custom: #c03fa6;
$custom-light: #d67ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#c03fa6",
  "rgb": {
    "r": 192,
    "g": 63,
    "b": 166
  },
  "hsl": {
    "h": 312.093,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.58562,
    "c": 0.19855,
    "h": 336.9
  },
  "luminance": 0.17515
}

Semantic roles & 50–950 ramp

primary
#C03FA6
secondary
#91CA9C
accent
#DA6A4E
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C03FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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