#C02B5B#C02B5B

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

Color values

HEX#C02B5B
RGBrgb(192, 43, 91)
HSLhsl(341, 63%, 46%)
HSVhsv(341, 78%, 75%)
CMYKcmyk(0%, 77.6%, 52.6%, 24.7%)
CIE-LABlab(43.79, 60.46, 9.24)
CIE-LCHlch(43.79, 61.17, 8.69°)
OKLaboklab(53.95% 0.1843 0.0238)
OKLCHoklch(53.95% 0.186 7.4)
XYZxyz(24.4927, 13.6930, 11.2488)
Luminance0.1369 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B5B #2BC090
analogous
#C02BA5 #C02B5B #C0452B
triadic
#C02B5B #5BC02B #2B5BC0
tetradic
#C02B5B #A5C02B #2BC090 #452BC0
square
#C02B5B #A5C02B #2BC090 #452BC0
split-complementary
#C02B5B #2BC045 #2BA5C0
monochromatic
#5C152C #8E2043 #C02B5B #D8507C #E382A1

Accessibility & contrast

On white

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

On black

3.74
#C02B5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C02B5B#FFFFFF#000000##FFFFFF
##C02B5B1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52545C
Deuteranopia (green-blind)
#797257
Tritanopia (blue-blind)
#D20040
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c02b5b;
/* rgb */ color: rgb(192, 43, 91);
/* oklch */ color: oklch(53.9% 0.186 7.4);
Tailwind
colors: {
  custom: {
    50: '#da7389',
    500: '#c02b5b',
    950: '#000000',
  },
}
SCSS
$custom: #c02b5b;
$custom-light: #da7389;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b5b",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 91
  },
  "hsl": {
    "h": 340.671,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53946,
    "c": 0.18586,
    "h": 7.4
  },
  "luminance": 0.1369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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