#C02FA0#C02FA0

#C02FA0 is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.9% C 0.213 H 338.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C02FA0
RGBrgb(192, 47, 160)
HSLhsl(313, 61%, 47%)
HSVhsv(313, 76%, 75%)
CMYKcmyk(0%, 75.5%, 16.7%, 24.7%)
CIE-LABlab(46.69, 66.80, -28.62)
CIE-LCHlch(46.69, 72.67, 336.81°)
OKLaboklab(56.86% 0.1983 -0.0776)
OKLCHoklch(56.86% 0.213 338.6)
XYZxyz(29.1006, 15.7804, 34.7642)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02FA0 #2FC04F
analogous
#972FC0 #C02FA0 #C02F58
triadic
#C02FA0 #A0C02F #2FA0C0
tetradic
#C02FA0 #C0972F #2FC04F #2F58C0
square
#C02FA0 #C0972F #2FC04F #2F58C0
split-complementary
#C02FA0 #58C02F #2FC097
monochromatic
#5E174E #8F2377 #C02FA0 #D656BA #E288CE

Accessibility & contrast

On white

5.05
#C02FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#C02FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02FA0
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02FA0#FFFFFF#000000##FFFFFF
##C02FA01.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3760A3
Deuteranopia (green-blind)
#68779D
Tritanopia (blue-blind)
#CB3665
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c02fa0;
/* rgb */ color: rgb(192, 47, 160);
/* oklch */ color: oklch(56.9% 0.213 338.6);
Tailwind
colors: {
  custom: {
    50: '#d777bc',
    500: '#c02fa0',
    950: '#000000',
  },
}
SCSS
$custom: #c02fa0;
$custom-light: #d777bc;
$custom-dark: #000000;
JSON
{
  "hex": "#c02fa0",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 313.241,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56864,
    "c": 0.21292,
    "h": 338.6
  },
  "luminance": 0.15778
}

Semantic roles & 50–950 ramp

primary
#C02FA0
secondary
#7FCB90
accent
#E46744
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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