#C02BA4#C02BA4

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

Color values

HEX#C02BA4
RGBrgb(192, 43, 164)
HSLhsl(311, 63%, 46%)
HSVhsv(311, 78%, 75%)
CMYKcmyk(0%, 77.6%, 14.6%, 24.7%)
CIE-LABlab(46.47, 68.52, -31.34)
CIE-LCHlch(46.47, 75.34, 335.42°)
OKLaboklab(56.77% 0.2022 -0.0853)
OKLCHoklch(56.77% 0.219 337.1)
XYZxyz(29.3035, 15.6174, 36.5859)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BA4 #2BC047
analogous
#912BC0 #C02BA4 #C02B59
triadic
#C02BA4 #A4C02B #2BA4C0
tetradic
#C02BA4 #C0912B #2BC047 #2B59C0
square
#C02BA4 #C0912B #2BC047 #2B59C0
split-complementary
#C02BA4 #59C02B #2BC091
monochromatic
#5C154F #8E2079 #C02BA4 #D850BE #E382D1

Accessibility & contrast

On white

5.09
#C02BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02BA4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02BA4#FFFFFF#000000##FFFFFF
##C02BA41.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3060A7
Deuteranopia (green-blind)
#6576A1
Tritanopia (blue-blind)
#CA3566
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c02ba4;
/* rgb */ color: rgb(192, 43, 164);
/* oklch */ color: oklch(56.8% 0.219 337.1);
Tailwind
colors: {
  custom: {
    50: '#d775bf',
    500: '#c02ba4',
    950: '#000000',
  },
}
SCSS
$custom: #c02ba4;
$custom-light: #d775bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ba4",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 311.275,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56769,
    "c": 0.21945,
    "h": 337.1
  },
  "luminance": 0.15615
}

Semantic roles & 50–950 ramp

primary
#C02BA4
secondary
#7BCC8A
accent
#E66041
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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