#C02B7F#C02B7F

#C02B7F is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.1% C 0.198 H 351.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#C02B7F
RGBrgb(192, 43, 127)
HSLhsl(326, 63%, 46%)
HSVhsv(326, 78%, 75%)
CMYKcmyk(0%, 77.6%, 33.9%, 24.7%)
CIE-LABlab(44.90, 63.88, -11.42)
CIE-LCHlch(44.90, 64.89, 349.86°)
OKLaboklab(55.12% 0.1958 -0.0296)
OKLCHoklch(55.12% 0.198 351.4)
XYZxyz(26.4345, 14.4697, 21.4754)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B7F #2BC06C
analogous
#B62BC0 #C02B7F #C02B35
triadic
#C02B7F #7FC02B #2B7FC0
tetradic
#C02B7F #C0B62B #2BC06C #2B35C0
square
#C02B7F #C0B62B #2BC06C #2B35C0
split-complementary
#C02B7F #35C02B #2BC0B6
monochromatic
#5C153D #8E205E #C02B7F #D8509D #E382B9

Accessibility & contrast

On white

5.39
#C02B7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#C02B7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02B7F
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B7F#FFFFFF#000000##FFFFFF
##C02B7F1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475981
Deuteranopia (green-blind)
#71747C
Tritanopia (blue-blind)
#CF1D52
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c02b7f;
/* rgb */ color: rgb(192, 43, 127);
/* oklch */ color: oklch(55.1% 0.198 351.4);
Tailwind
colors: {
  custom: {
    50: '#d874a4',
    500: '#c02b7f',
    950: '#000000',
  },
}
SCSS
$custom: #c02b7f;
$custom-light: #d874a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b7f",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 326.174,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55121,
    "c": 0.19806,
    "h": 351.4
  },
  "luminance": 0.14467
}

Semantic roles & 50–950 ramp

primary
#C02B7F
secondary
#7BCC9E
accent
#E68941
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #C02B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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