#C02BA5#C02BA5

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

Color values

HEX#C02BA5
RGBrgb(192, 43, 165)
HSLhsl(311, 63%, 46%)
HSVhsv(311, 78%, 75%)
CMYKcmyk(0%, 77.6%, 14.1%, 24.7%)
CIE-LABlab(46.52, 68.66, -31.86)
CIE-LCHlch(46.52, 75.69, 335.11°)
OKLaboklab(56.82% 0.2023 -0.0868)
OKLCHoklch(56.82% 0.22 336.8)
XYZxyz(29.3942, 15.6536, 37.0634)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BA5 #2BC046
analogous
#902BC0 #C02BA5 #C02B5B
triadic
#C02BA5 #A5C02B #2BA5C0
tetradic
#C02BA5 #C0902B #2BC046 #2B5BC0
square
#C02BA5 #C0902B #2BC046 #2B5BC0
split-complementary
#C02BA5 #5BC02B #2BC090
monochromatic
#5C154F #8E207A #C02BA5 #D850BF #E382D2

Accessibility & contrast

On white

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

On black

4.13
#C02BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C02BA5#FFFFFF#000000##FFFFFF
##C02BA51.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F60A8
Deuteranopia (green-blind)
#6476A2
Tritanopia (blue-blind)
#CA3666
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c02ba5;
/* rgb */ color: rgb(192, 43, 165);
/* oklch */ color: oklch(56.8% 0.220 336.8);
Tailwind
colors: {
  custom: {
    50: '#d775c0',
    500: '#c02ba5',
    950: '#000000',
  },
}
SCSS
$custom: #c02ba5;
$custom-light: #d775c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ba5",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 310.872,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5682,
    "c": 0.2201,
    "h": 336.8
  },
  "luminance": 0.15651
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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