#C03FA7#C03FA7

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

Color values

HEX#C03FA7
RGBrgb(192, 63, 167)
HSLhsl(312, 51%, 50%)
HSVhsv(312, 67%, 75%)
CMYKcmyk(0%, 67.2%, 13%, 24.7%)
CIE-LABlab(48.95, 62.32, -29.24)
CIE-LCHlch(48.95, 68.84, 334.87°)
OKLaboklab(58.61% 0.1827 -0.0795)
OKLCHoklch(58.61% 0.199 336.5)
XYZxyz(30.4912, 17.5541, 38.3341)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03FA7 #3FC058
analogous
#993FC0 #C03FA7 #C03F66
triadic
#C03FA7 #A7C03F #3FA7C0
tetradic
#C03FA7 #C0993F #3FC058 #3F66C0
square
#C03FA7 #C0993F #3FC058 #3F66C0
split-complementary
#C03FA7 #66C03F #3FC099
monochromatic
#642157 #92307F #C03FA7 #CF6DBC #DE9BD1

Accessibility & contrast

On white

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

On black

4.51
#C03FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C03FA7#FFFFFF#000000##FFFFFF
##C03FA71.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4168AA
Deuteranopia (green-blind)
#6B7BA4
Tritanopia (blue-blind)
#CA466D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c03fa7;
/* rgb */ color: rgb(192, 63, 167);
/* oklch */ color: oklch(58.6% 0.199 336.5);
Tailwind
colors: {
  custom: {
    50: '#d67ec1',
    500: '#c03fa7',
    950: '#000000',
  },
}
SCSS
$custom: #c03fa7;
$custom-light: #d67ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#c03fa7",
  "rgb": {
    "r": 192,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 311.628,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.5861,
    "c": 0.19927,
    "h": 336.5
  },
  "luminance": 0.17552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C03FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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