#C02BA6#C02BA6

#C02BA6 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.9% C 0.221 H 336.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C02BA6
RGBrgb(192, 43, 166)
HSLhsl(310, 63%, 46%)
HSVhsv(310, 78%, 75%)
CMYKcmyk(0%, 77.6%, 13.5%, 24.7%)
CIE-LABlab(46.57, 68.80, -32.38)
CIE-LCHlch(46.57, 76.03, 334.80°)
OKLaboklab(56.87% 0.2023 -0.0883)
OKLCHoklch(56.87% 0.221 336.4)
XYZxyz(29.4856, 15.6902, 37.5446)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BA6 #2BC045
analogous
#8F2BC0 #C02BA6 #C02B5B
triadic
#C02BA6 #A6C02B #2BA6C0
tetradic
#C02BA6 #C08F2B #2BC045 #2B5BC0
square
#C02BA6 #C08F2B #2BC045 #2B5BC0
split-complementary
#C02BA6 #5BC02B #2BC08F
monochromatic
#5C1550 #8E207B #C02BA6 #D850C0 #E382D2

Accessibility & contrast

On white

5.08
#C02BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#C02BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02BA6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02BA6#FFFFFF#000000##FFFFFF
##C02BA61.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E60A9
Deuteranopia (green-blind)
#6476A3
Tritanopia (blue-blind)
#CA3667
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c02ba6;
/* rgb */ color: rgb(192, 43, 166);
/* oklch */ color: oklch(56.9% 0.221 336.4);
Tailwind
colors: {
  custom: {
    50: '#d775c1',
    500: '#c02ba6',
    950: '#000000',
  },
}
SCSS
$custom: #c02ba6;
$custom-light: #d775c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ba6",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 310.47,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5687,
    "c": 0.22076,
    "h": 336.4
  },
  "luminance": 0.15687
}

Semantic roles & 50–950 ramp

primary
#C02BA6
secondary
#7BCC89
accent
#E65E41
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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