#C02BA3#C02BA3

#C02BA3 is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.7% C 0.219 H 337.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C02BA3
RGBrgb(192, 43, 163)
HSLhsl(312, 63%, 46%)
HSVhsv(312, 78%, 75%)
CMYKcmyk(0%, 77.6%, 15.1%, 24.7%)
CIE-LABlab(46.42, 68.38, -30.82)
CIE-LCHlch(46.42, 75.00, 335.74°)
OKLaboklab(56.72% 0.2021 -0.0838)
OKLCHoklch(56.72% 0.219 337.5)
XYZxyz(29.2136, 15.5814, 36.1122)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BA3 #2BC048
analogous
#922BC0 #C02BA3 #C02B58
triadic
#C02BA3 #A3C02B #2BA3C0
tetradic
#C02BA3 #C0922B #2BC048 #2B58C0
square
#C02BA3 #C0922B #2BC048 #2B58C0
split-complementary
#C02BA3 #58C02B #2BC092
monochromatic
#5C154E #8E2079 #C02BA3 #D850BD #E382D0

Accessibility & contrast

On white

5.10
#C02BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#C02BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02BA3
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02BA3#FFFFFF#000000##FFFFFF
##C02BA31.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA6
Deuteranopia (green-blind)
#6576A0
Tritanopia (blue-blind)
#CB3565
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c02ba3;
/* rgb */ color: rgb(192, 43, 163);
/* oklch */ color: oklch(56.7% 0.219 337.5);
Tailwind
colors: {
  custom: {
    50: '#d775be',
    500: '#c02ba3',
    950: '#000000',
  },
}
SCSS
$custom: #c02ba3;
$custom-light: #d775be;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ba3",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 311.678,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56719,
    "c": 0.21879,
    "h": 337.5
  },
  "luminance": 0.15579
}

Semantic roles & 50–950 ramp

primary
#C02BA3
secondary
#7BCC8B
accent
#E66141
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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