#C02FA5#C02FA5

#C02FA5 is a mid, highly saturated pink. Relative luminance 0.160; OKLCH L 57.1% C 0.216 H 336.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C02FA5
RGBrgb(192, 47, 165)
HSLhsl(311, 61%, 47%)
HSVhsv(311, 76%, 75%)
CMYKcmyk(0%, 75.5%, 14.1%, 24.7%)
CIE-LABlab(46.92, 67.50, -31.23)
CIE-LCHlch(46.92, 74.37, 335.18°)
OKLaboklab(57.11% 0.1988 -0.085)
OKLCHoklch(57.11% 0.216 336.8)
XYZxyz(29.5468, 15.9589, 37.1143)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02FA5 #2FC04A
analogous
#922FC0 #C02FA5 #C02F5D
triadic
#C02FA5 #A5C02F #2FA5C0
tetradic
#C02FA5 #C0922F #2FC04A #2F5DC0
square
#C02FA5 #C0922F #2FC04A #2F5DC0
split-complementary
#C02FA5 #5DC02F #2FC092
monochromatic
#5E1750 #8F237B #C02FA5 #D656BE #E288D1

Accessibility & contrast

On white

5.01
#C02FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#C02FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02FA5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02FA5#FFFFFF#000000##FFFFFF
##C02FA51.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3361A8
Deuteranopia (green-blind)
#6677A2
Tritanopia (blue-blind)
#CA3967
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c02fa5;
/* rgb */ color: rgb(192, 47, 165);
/* oklch */ color: oklch(57.1% 0.216 336.8);
Tailwind
colors: {
  custom: {
    50: '#d777c0',
    500: '#c02fa5',
    950: '#000000',
  },
}
SCSS
$custom: #c02fa5;
$custom-light: #d777c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c02fa5",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 311.172,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5711,
    "c": 0.21622,
    "h": 336.8
  },
  "luminance": 0.15956
}

Semantic roles & 50–950 ramp

primary
#C02FA5
secondary
#7FCB8E
accent
#E46244
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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