#C02BA7#C02BA7

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

Color values

HEX#C02BA7
RGBrgb(192, 43, 167)
HSLhsl(310, 63%, 46%)
HSVhsv(310, 78%, 75%)
CMYKcmyk(0%, 77.6%, 13%, 24.7%)
CIE-LABlab(46.61, 68.94, -32.89)
CIE-LCHlch(46.61, 76.38, 334.49°)
OKLaboklab(56.92% 0.2024 -0.0898)
OKLCHoklch(56.92% 0.221 336.1)
XYZxyz(29.5777, 15.7270, 38.0296)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BA7 #2BC044
analogous
#8E2BC0 #C02BA7 #C02B5C
triadic
#C02BA7 #A7C02B #2BA7C0
tetradic
#C02BA7 #C08E2B #2BC044 #2B5CC0
square
#C02BA7 #C08E2B #2BC044 #2B5CC0
split-complementary
#C02BA7 #5CC02B #2BC08E
monochromatic
#5C1550 #8E207C #C02BA7 #D850C1 #E382D3

Accessibility & contrast

On white

5.07
#C02BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02BA7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02BA7#FFFFFF#000000##FFFFFF
##C02BA71.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D60AA
Deuteranopia (green-blind)
#6476A4
Tritanopia (blue-blind)
#CA3767
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c02ba7;
/* rgb */ color: rgb(192, 43, 167);
/* oklch */ color: oklch(56.9% 0.221 336.1);
Tailwind
colors: {
  custom: {
    50: '#d775c1',
    500: '#c02ba7',
    950: '#000000',
  },
}
SCSS
$custom: #c02ba7;
$custom-light: #d775c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ba7",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 310.067,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56921,
    "c": 0.22143,
    "h": 336.1
  },
  "luminance": 0.15724
}

Semantic roles & 50–950 ramp

primary
#C02BA7
secondary
#7BCC88
accent
#E65D41
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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