#C02B8A#C02B8A

#C02B8A is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.6% C 0.204 H 346.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#C02B8A
RGBrgb(192, 43, 138)
HSLhsl(322, 63%, 46%)
HSVhsv(322, 78%, 75%)
CMYKcmyk(0%, 77.6%, 28.1%, 24.7%)
CIE-LABlab(45.32, 65.14, -17.49)
CIE-LCHlch(45.32, 67.45, 344.97°)
OKLaboklab(55.57% 0.1984 -0.0462)
OKLCHoklch(55.57% 0.204 346.9)
XYZxyz(27.1909, 14.7723, 25.4592)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B8A #2BC061
analogous
#AB2BC0 #C02B8A #C02B3F
triadic
#C02B8A #8AC02B #2B8AC0
tetradic
#C02B8A #C0AB2B #2BC061 #2B3FC0
square
#C02B8A #C0AB2B #2BC061 #2B3FC0
split-complementary
#C02B8A #3FC02B #2BC0AB
monochromatic
#5C1542 #8E2066 #C02B8A #D850A7 #E382C0

Accessibility & contrast

On white

5.31
#C02B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#C02B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02B8A
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B8A#FFFFFF#000000##FFFFFF
##C02B8A1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8C
Deuteranopia (green-blind)
#6E7487
Tritanopia (blue-blind)
#CE2557
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c02b8a;
/* rgb */ color: rgb(192, 43, 138);
/* oklch */ color: oklch(55.6% 0.204 346.9);
Tailwind
colors: {
  custom: {
    50: '#d874ac',
    500: '#c02b8a',
    950: '#000000',
  },
}
SCSS
$custom: #c02b8a;
$custom-light: #d874ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b8a",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 321.745,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55566,
    "c": 0.20369,
    "h": 346.9
  },
  "luminance": 0.14769
}

Semantic roles & 50–950 ramp

primary
#C02B8A
secondary
#7BCC98
accent
#E67D41
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #C02B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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