#C02A8F#C02A8F

#C02A8F is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.7% C 0.207 H 344.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#C02A8F
RGBrgb(192, 42, 143)
HSLhsl(320, 64%, 46%)
HSVhsv(320, 78%, 75%)
CMYKcmyk(0%, 78.1%, 25.5%, 24.7%)
CIE-LABlab(45.43, 66.03, -20.36)
CIE-LCHlch(45.43, 69.10, 342.87°)
OKLaboklab(55.71% 0.2002 -0.0542)
OKLCHoklch(55.71% 0.207 344.8)
XYZxyz(27.5253, 14.8486, 27.3978)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02A8F #2AC05B
analogous
#A62AC0 #C02A8F #C02A44
triadic
#C02A8F #8FC02A #2A8FC0
tetradic
#C02A8F #C0A62A #2AC05B #2A44C0
square
#C02A8F #C0A62A #2AC05B #2A44C0
split-complementary
#C02A8F #44C02A #2AC0A6
monochromatic
#5C1444 #8E1F6A #C02A8F #D84FAB #E381C3

Accessibility & contrast

On white

5.29
#C02A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#C02A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02A8F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02A8F#FFFFFF#000000##FFFFFF
##C02A8F1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B92
Deuteranopia (green-blind)
#6C748C
Tritanopia (blue-blind)
#CD285A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c02a8f;
/* rgb */ color: rgb(192, 42, 143);
/* oklch */ color: oklch(55.7% 0.207 344.8);
Tailwind
colors: {
  custom: {
    50: '#d874b0',
    500: '#c02a8f',
    950: '#000000',
  },
}
SCSS
$custom: #c02a8f;
$custom-light: #d874b0;
$custom-dark: #000000;
JSON
{
  "hex": "#c02a8f",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 319.6,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55709,
    "c": 0.20742,
    "h": 344.8
  },
  "luminance": 0.14846
}

Semantic roles & 50–950 ramp

primary
#C02A8F
secondary
#7ACC95
accent
#E77741
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #C02A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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