#C02B7E#C02B7E

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

Color values

HEX#C02B7E
RGBrgb(192, 43, 126)
HSLhsl(327, 63%, 46%)
HSVhsv(327, 78%, 75%)
CMYKcmyk(0%, 77.6%, 34.4%, 24.7%)
CIE-LABlab(44.86, 63.77, -10.86)
CIE-LCHlch(44.86, 64.68, 350.33°)
OKLaboklab(55.08% 0.1956 -0.0281)
OKLCHoklch(55.08% 0.198 351.8)
XYZxyz(26.3696, 14.4438, 21.1339)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B7E #2BC06D
analogous
#B72BC0 #C02B7E #C02B34
triadic
#C02B7E #7EC02B #2B7EC0
tetradic
#C02B7E #C0B72B #2BC06D #2B34C0
square
#C02B7E #C0B72B #2BC06D #2B34C0
split-complementary
#C02B7E #34C02B #2BC0B7
monochromatic
#5C153C #8E205D #C02B7E #D8509C #E382B8

Accessibility & contrast

On white

5.40
#C02B7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02B7E
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B7E#FFFFFF#000000##FFFFFF
##C02B7E1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475980
Deuteranopia (green-blind)
#72747B
Tritanopia (blue-blind)
#CF1D51
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c02b7e;
/* rgb */ color: rgb(192, 43, 126);
/* oklch */ color: oklch(55.1% 0.198 351.8);
Tailwind
colors: {
  custom: {
    50: '#d874a3',
    500: '#c02b7e',
    950: '#000000',
  },
}
SCSS
$custom: #c02b7e;
$custom-light: #d874a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b7e",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 326.577,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55083,
    "c": 0.19759,
    "h": 351.8
  },
  "luminance": 0.14441
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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