#C02B9A#C02B9A

#C02B9A is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.3% C 0.213 H 340.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C02B9A
RGBrgb(192, 43, 154)
HSLhsl(315, 63%, 46%)
HSVhsv(315, 78%, 75%)
CMYKcmyk(0%, 77.6%, 19.8%, 24.7%)
CIE-LABlab(46.00, 67.16, -26.09)
CIE-LCHlch(46.00, 72.05, 338.77°)
OKLaboklab(56.28% 0.2011 -0.0704)
OKLCHoklch(56.28% 0.213 340.7)
XYZxyz(28.4357, 15.2702, 32.0155)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B9A #2BC051
analogous
#9B2BC0 #C02B9A #C02B4F
triadic
#C02B9A #9AC02B #2B9AC0
tetradic
#C02B9A #C09B2B #2BC051 #2B4FC0
square
#C02B9A #C09B2B #2BC051 #2B4FC0
split-complementary
#C02B9A #4FC02B #2BC09B
monochromatic
#5C154A #8E2072 #C02B9A #D850B5 #E382CA

Accessibility & contrast

On white

5.18
#C02B9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02B9A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B9A#FFFFFF#000000##FFFFFF
##C02B9A1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385E9D
Deuteranopia (green-blind)
#697597
Tritanopia (blue-blind)
#CC2F60
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c02b9a;
/* rgb */ color: rgb(192, 43, 154);
/* oklch */ color: oklch(56.3% 0.213 340.7);
Tailwind
colors: {
  custom: {
    50: '#d775b8',
    500: '#c02b9a',
    950: '#000000',
  },
}
SCSS
$custom: #c02b9a;
$custom-light: #d775b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b9a",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 154
  },
  "hsl": {
    "h": 315.302,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56282,
    "c": 0.21304,
    "h": 340.7
  },
  "luminance": 0.15267
}

Semantic roles & 50–950 ramp

primary
#C02B9A
secondary
#7BCC8F
accent
#E66B41
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C02B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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