#C02A6F#C02A6F

#C02A6F is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.5% C 0.192 H 358.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#C02A6F
RGBrgb(192, 42, 111)
HSLhsl(332, 64%, 46%)
HSVhsv(332, 78%, 75%)
CMYKcmyk(0%, 78.1%, 42.2%, 24.7%)
CIE-LABlab(44.25, 62.51, -2.53)
CIE-LCHlch(44.25, 62.56, 357.68°)
OKLaboklab(54.47% 0.1922 -0.0059)
OKLCHoklch(54.47% 0.192 358.2)
XYZxyz(25.4374, 14.0134, 16.4012)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02A6F #2AC07B
analogous
#C02ABA #C02A6F #C0302A
triadic
#C02A6F #6FC02A #2A6FC0
tetradic
#C02A6F #BAC02A #2AC07B #302AC0
square
#C02A6F #BAC02A #2AC07B #302AC0
split-complementary
#C02A6F #2AC030 #2ABAC0
monochromatic
#5C1435 #8E1F52 #C02A6F #D84F8E #E381AE

Accessibility & contrast

On white

5.52
#C02A6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#C02A6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02A6F
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02A6F#FFFFFF#000000##FFFFFF
##C02A6F1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5771
Deuteranopia (green-blind)
#75736C
Tritanopia (blue-blind)
#D00C49
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c02a6f;
/* rgb */ color: rgb(192, 42, 111);
/* oklch */ color: oklch(54.5% 0.192 358.2);
Tailwind
colors: {
  custom: {
    50: '#d97398',
    500: '#c02a6f',
    950: '#000000',
  },
}
SCSS
$custom: #c02a6f;
$custom-light: #d97398;
$custom-dark: #000000;
JSON
{
  "hex": "#c02a6f",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 332.4,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5447,
    "c": 0.19229,
    "h": 358.2
  },
  "luminance": 0.1401
}

Semantic roles & 50–950 ramp

primary
#C02A6F
secondary
#7ACCA6
accent
#E79B41
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C02A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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