#C02FA3#C02FA3

#C02FA3 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 57.0% C 0.215 H 337.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C02FA3
RGBrgb(192, 47, 163)
HSLhsl(312, 61%, 47%)
HSVhsv(312, 76%, 75%)
CMYKcmyk(0%, 75.5%, 15.1%, 24.7%)
CIE-LABlab(46.83, 67.22, -30.19)
CIE-LCHlch(46.83, 73.69, 335.82°)
OKLaboklab(57.01% 0.1986 -0.082)
OKLCHoklch(57.01% 0.215 337.6)
XYZxyz(29.3662, 15.8866, 36.1631)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02FA3 #2FC04C
analogous
#952FC0 #C02FA3 #C02F5B
triadic
#C02FA3 #A3C02F #2FA3C0
tetradic
#C02FA3 #C0952F #2FC04C #2F5BC0
square
#C02FA3 #C0952F #2FC04C #2F5BC0
split-complementary
#C02FA3 #5BC02F #2FC095
monochromatic
#5E1750 #8F2379 #C02FA3 #D656BC #E288D0

Accessibility & contrast

On white

5.03
#C02FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#C02FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02FA3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02FA3#FFFFFF#000000##FFFFFF
##C02FA31.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3561A6
Deuteranopia (green-blind)
#6777A0
Tritanopia (blue-blind)
#CB3866
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c02fa3;
/* rgb */ color: rgb(192, 47, 163);
/* oklch */ color: oklch(57.0% 0.215 337.6);
Tailwind
colors: {
  custom: {
    50: '#d777be',
    500: '#c02fa3',
    950: '#000000',
  },
}
SCSS
$custom: #c02fa3;
$custom-light: #d777be;
$custom-dark: #000000;
JSON
{
  "hex": "#c02fa3",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 312,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57011,
    "c": 0.21489,
    "h": 337.6
  },
  "luminance": 0.15884
}

Semantic roles & 50–950 ramp

primary
#C02FA3
secondary
#7FCB8F
accent
#E46444
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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