#C02A5F#C02A5F

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

Color values

HEX#C02A5F
RGBrgb(192, 42, 95)
HSLhsl(339, 64%, 46%)
HSVhsv(339, 78%, 75%)
CMYKcmyk(0%, 78.1%, 50.5%, 24.7%)
CIE-LABlab(43.79, 61.08, 6.74)
CIE-LCHlch(43.79, 61.45, 6.30°)
OKLaboklab(53.98% 0.1868 0.0177)
OKLCHoklch(53.98% 0.188 5.4)
XYZxyz(24.6340, 13.6921, 12.1699)
Luminance0.1369 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02A5F #2AC08B
analogous
#C02AAA #C02A5F #C0402A
triadic
#C02A5F #5FC02A #2A5FC0
tetradic
#C02A5F #AAC02A #2AC08B #402AC0
square
#C02A5F #AAC02A #2AC08B #402AC0
split-complementary
#C02A5F #2AC040 #2AAAC0
monochromatic
#5C142D #8E1F46 #C02A5F #D84F7F #E381A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02A5F#FFFFFF#000000##FFFFFF
##C02A5F1.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)
#505560
Deuteranopia (green-blind)
#78725B
Tritanopia (blue-blind)
#D10041
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c02a5f;
/* rgb */ color: rgb(192, 42, 95);
/* oklch */ color: oklch(54.0% 0.188 5.4);
Tailwind
colors: {
  custom: {
    50: '#d9738c',
    500: '#c02a5f',
    950: '#000000',
  },
}
SCSS
$custom: #c02a5f;
$custom-light: #d9738c;
$custom-dark: #000000;
JSON
{
  "hex": "#c02a5f",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 338.8,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53978,
    "c": 0.1876,
    "h": 5.4
  },
  "luminance": 0.13689
}

Semantic roles & 50–950 ramp

primary
#C02A5F
secondary
#7ACCAF
accent
#E7AC41
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C02A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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