#C02B7D#C02B7D

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

Color values

HEX#C02B7D
RGBrgb(192, 43, 125)
HSLhsl(327, 63%, 46%)
HSVhsv(327, 78%, 75%)
CMYKcmyk(0%, 77.6%, 34.9%, 24.7%)
CIE-LABlab(44.83, 63.66, -10.30)
CIE-LCHlch(44.83, 64.49, 350.81°)
OKLaboklab(55.05% 0.1953 -0.0266)
OKLCHoklch(55.05% 0.197 352.3)
XYZxyz(26.3054, 14.4181, 20.7958)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B7D #2BC06E
analogous
#B82BC0 #C02B7D #C02B32
triadic
#C02B7D #7DC02B #2B7DC0
tetradic
#C02B7D #C0B82B #2BC06E #2B32C0
square
#C02B7D #C0B82B #2BC06E #2B32C0
split-complementary
#C02B7D #32C02B #2BC0B8
monochromatic
#5C153C #8E205C #C02B7D #D8509B #E382B8

Accessibility & contrast

On white

5.41
#C02B7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#C02B7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02B7D
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B7D#FFFFFF#000000##FFFFFF
##C02B7D1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47597F
Deuteranopia (green-blind)
#72747A
Tritanopia (blue-blind)
#CF1C51
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c02b7d;
/* rgb */ color: rgb(192, 43, 125);
/* oklch */ color: oklch(55.0% 0.197 352.3);
Tailwind
colors: {
  custom: {
    50: '#d874a2',
    500: '#c02b7d',
    950: '#000000',
  },
}
SCSS
$custom: #c02b7d;
$custom-light: #d874a2;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b7d",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 326.98,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55045,
    "c": 0.19713,
    "h": 352.3
  },
  "luminance": 0.14415
}

Semantic roles & 50–950 ramp

primary
#C02B7D
secondary
#7BCC9F
accent
#E68C41
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #C02B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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