#C02B5E#C02B5E

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

Color values

HEX#C02B5E
RGBrgb(192, 43, 94)
HSLhsl(339, 63%, 46%)
HSVhsv(339, 78%, 75%)
CMYKcmyk(0%, 77.6%, 51%, 24.7%)
CIE-LABlab(43.87, 60.70, 7.48)
CIE-LCHlch(43.87, 61.16, 7.02°)
OKLaboklab(54.03% 0.1854 0.0195)
OKLCHoklch(54.03% 0.186 6)
XYZxyz(24.6247, 13.7458, 11.9440)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B5E #2BC08D
analogous
#C02BA8 #C02B5E #C0422B
triadic
#C02B5E #5EC02B #2B5EC0
tetradic
#C02B5E #A8C02B #2BC08D #422BC0
square
#C02B5E #A8C02B #2BC08D #422BC0
split-complementary
#C02B5E #2BC042 #2BA8C0
monochromatic
#5C152D #8E2046 #C02B5E #D8507F #E382A3

Accessibility & contrast

On white

5.60
#C02B5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#C02B5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02B5E
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B5E#FFFFFF#000000##FFFFFF
##C02B5E1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51555F
Deuteranopia (green-blind)
#78725A
Tritanopia (blue-blind)
#D10041
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c02b5e;
/* rgb */ color: rgb(192, 43, 94);
/* oklch */ color: oklch(54.0% 0.186 6.0);
Tailwind
colors: {
  custom: {
    50: '#d9738b',
    500: '#c02b5e',
    950: '#000000',
  },
}
SCSS
$custom: #c02b5e;
$custom-light: #d9738b;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b5e",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 94
  },
  "hsl": {
    "h": 339.463,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54027,
    "c": 0.18646,
    "h": 6
  },
  "luminance": 0.13742
}

Semantic roles & 50–950 ramp

primary
#C02B5E
secondary
#7BCCB0
accent
#E6AE41
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C02B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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