#C02B87#C02B87

#C02B87 is a mid, highly saturated pink. Relative luminance 0.147; OKLCH L 55.4% C 0.202 H 348.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#C02B87
RGBrgb(192, 43, 135)
HSLhsl(323, 63%, 46%)
HSVhsv(323, 78%, 75%)
CMYKcmyk(0%, 77.6%, 29.7%, 24.7%)
CIE-LABlab(45.20, 64.79, -15.85)
CIE-LCHlch(45.20, 66.70, 346.26°)
OKLaboklab(55.44% 0.1977 -0.0417)
OKLCHoklch(55.44% 0.202 348.1)
XYZxyz(26.9767, 14.6866, 24.3311)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B87 #2BC064
analogous
#AE2BC0 #C02B87 #C02B3C
triadic
#C02B87 #87C02B #2B87C0
tetradic
#C02B87 #C0AE2B #2BC064 #2B3CC0
square
#C02B87 #C0AE2B #2BC064 #2B3CC0
split-complementary
#C02B87 #3CC02B #2BC0AE
monochromatic
#5C1541 #8E2064 #C02B87 #D850A4 #E382BE

Accessibility & contrast

On white

5.33
#C02B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#C02B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02B87
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B87#FFFFFF#000000##FFFFFF
##C02B871.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435A89
Deuteranopia (green-blind)
#6F7484
Tritanopia (blue-blind)
#CE2356
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c02b87;
/* rgb */ color: rgb(192, 43, 135);
/* oklch */ color: oklch(55.4% 0.202 348.1);
Tailwind
colors: {
  custom: {
    50: '#d874aa',
    500: '#c02b87',
    950: '#000000',
  },
}
SCSS
$custom: #c02b87;
$custom-light: #d874aa;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b87",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 322.953,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55441,
    "c": 0.20208,
    "h": 348.1
  },
  "luminance": 0.14683
}

Semantic roles & 50–950 ramp

primary
#C02B87
secondary
#7BCC9A
accent
#E68141
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #C02B87

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

Preview Lab → · Contrast checker → · Palette generator →

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