#C02B99#C02B99

#C02B99 is a mid, highly saturated pink. Relative luminance 0.152; OKLCH L 56.2% C 0.212 H 341.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#C02B99
RGBrgb(192, 43, 153)
HSLhsl(316, 63%, 46%)
HSVhsv(316, 78%, 75%)
CMYKcmyk(0%, 77.6%, 20.3%, 24.7%)
CIE-LABlab(45.96, 67.03, -25.56)
CIE-LCHlch(45.96, 71.74, 339.12°)
OKLaboklab(56.23% 0.2009 -0.0689)
OKLCHoklch(56.23% 0.212 341.1)
XYZxyz(28.3528, 15.2371, 31.5787)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B99 #2BC052
analogous
#9C2BC0 #C02B99 #C02B4E
triadic
#C02B99 #99C02B #2B99C0
tetradic
#C02B99 #C09C2B #2BC052 #2B4EC0
square
#C02B99 #C09C2B #2BC052 #2B4EC0
split-complementary
#C02B99 #4EC02B #2BC09C
monochromatic
#5C1549 #8E2071 #C02B99 #D850B4 #E382CA

Accessibility & contrast

On white

5.19
#C02B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#C02B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02B99
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B99#FFFFFF#000000##FFFFFF
##C02B991.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395E9C
Deuteranopia (green-blind)
#697596
Tritanopia (blue-blind)
#CC2F60
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c02b99;
/* rgb */ color: rgb(192, 43, 153);
/* oklch */ color: oklch(56.2% 0.212 341.1);
Tailwind
colors: {
  custom: {
    50: '#d775b7',
    500: '#c02b99',
    950: '#000000',
  },
}
SCSS
$custom: #c02b99;
$custom-light: #d775b7;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b99",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 315.705,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56234,
    "c": 0.21242,
    "h": 341.1
  },
  "luminance": 0.15234
}

Semantic roles & 50–950 ramp

primary
#C02B99
secondary
#7BCC90
accent
#E66D41
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C02B99

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

Preview Lab → · Contrast checker → · Palette generator →

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