#C02BA2#C02BA2

#C02BA2 is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.7% C 0.218 H 337.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C02BA2
RGBrgb(192, 43, 162)
HSLhsl(312, 63%, 46%)
HSVhsv(312, 78%, 75%)
CMYKcmyk(0%, 77.6%, 15.6%, 24.7%)
CIE-LABlab(46.37, 68.24, -30.30)
CIE-LCHlch(46.37, 74.66, 336.06°)
OKLaboklab(56.67% 0.202 -0.0824)
OKLCHoklch(56.67% 0.218 337.8)
XYZxyz(29.1243, 15.5457, 35.6422)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BA2 #2BC049
analogous
#932BC0 #C02BA2 #C02B57
triadic
#C02BA2 #A2C02B #2BA2C0
tetradic
#C02BA2 #C0932B #2BC049 #2B57C0
square
#C02BA2 #C0932B #2BC049 #2B57C0
split-complementary
#C02BA2 #57C02B #2BC093
monochromatic
#5C154E #8E2078 #C02BA2 #D850BD #E382D0

Accessibility & contrast

On white

5.11
#C02BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#C02BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02BA2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02BA2#FFFFFF#000000##FFFFFF
##C02BA21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325FA5
Deuteranopia (green-blind)
#66769F
Tritanopia (blue-blind)
#CB3465
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c02ba2;
/* rgb */ color: rgb(192, 43, 162);
/* oklch */ color: oklch(56.7% 0.218 337.8);
Tailwind
colors: {
  custom: {
    50: '#d775be',
    500: '#c02ba2',
    950: '#000000',
  },
}
SCSS
$custom: #c02ba2;
$custom-light: #d775be;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ba2",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 312.081,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56669,
    "c": 0.21813,
    "h": 337.8
  },
  "luminance": 0.15543
}

Semantic roles & 50–950 ramp

primary
#C02BA2
secondary
#7BCC8B
accent
#E66341
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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