#C02B7B#C02B7B

#C02B7B is a mid, vivid pink. Relative luminance 0.144; OKLCH L 55.0% C 0.196 H 353.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#C02B7B
RGBrgb(192, 43, 123)
HSLhsl(328, 63%, 46%)
HSVhsv(328, 78%, 75%)
CMYKcmyk(0%, 77.6%, 35.9%, 24.7%)
CIE-LABlab(44.76, 63.44, -9.18)
CIE-LCHlch(44.76, 64.10, 351.76°)
OKLaboklab(54.97% 0.1948 -0.0235)
OKLCHoklch(54.97% 0.196 353.1)
XYZxyz(26.1789, 14.3675, 20.1297)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B7B #2BC070
analogous
#BA2BC0 #C02B7B #C02B31
triadic
#C02B7B #7BC02B #2B7BC0
tetradic
#C02B7B #C0BA2B #2BC070 #2B31C0
square
#C02B7B #C0BA2B #2BC070 #2B31C0
split-complementary
#C02B7B #31C02B #2BC0BA
monochromatic
#5C153B #8E205B #C02B7B #D85099 #E382B6

Accessibility & contrast

On white

5.42
#C02B7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02B7B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B7B#FFFFFF#000000##FFFFFF
##C02B7B1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597D
Deuteranopia (green-blind)
#727478
Tritanopia (blue-blind)
#CF1A50
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c02b7b;
/* rgb */ color: rgb(192, 43, 123);
/* oklch */ color: oklch(55.0% 0.196 353.1);
Tailwind
colors: {
  custom: {
    50: '#d874a1',
    500: '#c02b7b',
    950: '#000000',
  },
}
SCSS
$custom: #c02b7b;
$custom-light: #d874a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b7b",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 123
  },
  "hsl": {
    "h": 327.785,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5497,
    "c": 0.19621,
    "h": 353.1
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#C02B7B
secondary
#7BCCA0
accent
#E68E41
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #C02B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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