#C02C5F#C02C5F

#C02C5F is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.1% C 0.186 H 5.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#C02C5F
RGBrgb(192, 44, 95)
HSLhsl(339, 63%, 46%)
HSVhsv(339, 77%, 75%)
CMYKcmyk(0%, 77.1%, 50.5%, 24.7%)
CIE-LABlab(44.00, 60.49, 7.04)
CIE-LCHlch(44.00, 60.89, 6.64°)
OKLaboklab(54.13% 0.1848 0.0184)
OKLCHoklch(54.13% 0.186 5.7)
XYZxyz(24.7067, 13.8375, 12.1942)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02C5F #2CC08D
analogous
#C02CA9 #C02C5F #C0432C
triadic
#C02C5F #5FC02C #2C5FC0
tetradic
#C02C5F #A9C02C #2CC08D #432CC0
square
#C02C5F #A9C02C #2CC08D #432CC0
split-complementary
#C02C5F #2CC043 #2CA9C0
monochromatic
#5C152E #8E2146 #C02C5F #D75280 #E384A4

Accessibility & contrast

On white

5.58
#C02C5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#C02C5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02C5F
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02C5F#FFFFFF#000000##FFFFFF
##C02C5F1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525560
Deuteranopia (green-blind)
#78735B
Tritanopia (blue-blind)
#D10042
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c02c5f;
/* rgb */ color: rgb(192, 44, 95);
/* oklch */ color: oklch(54.1% 0.186 5.7);
Tailwind
colors: {
  custom: {
    50: '#d9738c',
    500: '#c02c5f',
    950: '#000000',
  },
}
SCSS
$custom: #c02c5f;
$custom-light: #d9738c;
$custom-dark: #000000;
JSON
{
  "hex": "#c02c5f",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 95
  },
  "hsl": {
    "h": 339.324,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54133,
    "c": 0.18575,
    "h": 5.7
  },
  "luminance": 0.13834
}

Semantic roles & 50–950 ramp

primary
#C02C5F
secondary
#7CCCB0
accent
#E6AD42
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C02C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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