#C02B7A#C02B7A

#C02B7A is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.9% C 0.196 H 353.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#C02B7A
RGBrgb(192, 43, 122)
HSLhsl(328, 63%, 46%)
HSVhsv(328, 78%, 75%)
CMYKcmyk(0%, 77.6%, 36.5%, 24.7%)
CIE-LABlab(44.72, 63.33, -8.62)
CIE-LCHlch(44.72, 63.92, 352.25°)
OKLaboklab(54.93% 0.1945 -0.022)
OKLCHoklch(54.93% 0.196 353.5)
XYZxyz(26.1167, 14.3426, 19.8017)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B7A #2BC071
analogous
#BB2BC0 #C02B7A #C02B2F
triadic
#C02B7A #7AC02B #2B7AC0
tetradic
#C02B7A #C0BB2B #2BC071 #2B2FC0
square
#C02B7A #C0BB2B #2BC071 #2B2FC0
split-complementary
#C02B7A #2FC02B #2BC0BB
monochromatic
#5C153A #8E205A #C02B7A #D85098 #E382B6

Accessibility & contrast

On white

5.43
#C02B7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#C02B7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02B7A
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B7A#FFFFFF#000000##FFFFFF
##C02B7A1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587C
Deuteranopia (green-blind)
#737477
Tritanopia (blue-blind)
#CF194F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c02b7a;
/* rgb */ color: rgb(192, 43, 122);
/* oklch */ color: oklch(54.9% 0.196 353.5);
Tailwind
colors: {
  custom: {
    50: '#d874a0',
    500: '#c02b7a',
    950: '#000000',
  },
}
SCSS
$custom: #c02b7a;
$custom-light: #d874a0;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b7a",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 122
  },
  "hsl": {
    "h": 328.188,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54932,
    "c": 0.19576,
    "h": 353.5
  },
  "luminance": 0.14339
}

Semantic roles & 50–950 ramp

primary
#C02B7A
secondary
#7BCCA1
accent
#E68F41
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #C02B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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