#C02B5A#C02B5A

#C02B5A is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.9% C 0.186 H 7.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#C02B5A
RGBrgb(192, 43, 90)
HSLhsl(341, 63%, 46%)
HSVhsv(341, 78%, 75%)
CMYKcmyk(0%, 77.6%, 53.1%, 24.7%)
CIE-LABlab(43.76, 60.39, 9.83)
CIE-LCHlch(43.76, 61.18, 9.24°)
OKLaboklab(53.92% 0.184 0.0252)
OKLCHoklch(53.92% 0.186 7.8)
XYZxyz(24.4498, 13.6759, 11.0231)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B5A #2BC091
analogous
#C02BA4 #C02B5A #C0462B
triadic
#C02B5A #5AC02B #2B5AC0
tetradic
#C02B5A #A4C02B #2BC091 #462BC0
square
#C02B5A #A4C02B #2BC091 #462BC0
split-complementary
#C02B5A #2BC046 #2BA4C0
monochromatic
#5C152B #8E2043 #C02B5A #D8507B #E382A1

Accessibility & contrast

On white

5.62
#C02B5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#C02B5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02B5A
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B5A#FFFFFF#000000##FFFFFF
##C02B5A1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52545B
Deuteranopia (green-blind)
#797256
Tritanopia (blue-blind)
#D2003F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c02b5a;
/* rgb */ color: rgb(192, 43, 90);
/* oklch */ color: oklch(53.9% 0.186 7.8);
Tailwind
colors: {
  custom: {
    50: '#da7388',
    500: '#c02b5a',
    950: '#000000',
  },
}
SCSS
$custom: #c02b5a;
$custom-light: #da7388;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b5a",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 90
  },
  "hsl": {
    "h": 341.074,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53919,
    "c": 0.18567,
    "h": 7.8
  },
  "luminance": 0.13672
}

Semantic roles & 50–950 ramp

primary
#C02B5A
secondary
#7BCCB2
accent
#E6B241
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C02B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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