#C02A6B#C02A6B

#C02A6B is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.3% C 0.191 H 0.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#C02A6B
RGBrgb(192, 42, 107)
HSLhsl(334, 64%, 46%)
HSVhsv(334, 78%, 75%)
CMYKcmyk(0%, 78.1%, 44.3%, 24.7%)
CIE-LABlab(44.13, 62.13, -0.23)
CIE-LCHlch(44.13, 62.13, 359.78°)
OKLaboklab(54.34% 0.1909 0.0001)
OKLCHoklch(54.34% 0.191 0)
XYZxyz(25.2220, 13.9273, 15.2672)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02A6B #2AC07F
analogous
#C02AB6 #C02A6B #C0342A
triadic
#C02A6B #6BC02A #2A6BC0
tetradic
#C02A6B #B6C02A #2AC07F #342AC0
square
#C02A6B #B6C02A #2AC07F #342AC0
split-complementary
#C02A6B #2AC034 #2AB6C0
monochromatic
#5C1433 #8E1F4F #C02A6B #D84F8A #E381AC

Accessibility & contrast

On white

5.55
#C02A6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#C02A6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02A6B
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02A6B#FFFFFF#000000##FFFFFF
##C02A6B1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566D
Deuteranopia (green-blind)
#767368
Tritanopia (blue-blind)
#D00647
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c02a6b;
/* rgb */ color: rgb(192, 42, 107);
/* oklch */ color: oklch(54.3% 0.191 0.0);
Tailwind
colors: {
  custom: {
    50: '#d97395',
    500: '#c02a6b',
    950: '#000000',
  },
}
SCSS
$custom: #c02a6b;
$custom-light: #d97395;
$custom-dark: #000000;
JSON
{
  "hex": "#c02a6b",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 107
  },
  "hsl": {
    "h": 334,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54339,
    "c": 0.19092,
    "h": 0
  },
  "luminance": 0.13924
}

Semantic roles & 50–950 ramp

primary
#C02A6B
secondary
#7ACCA8
accent
#E79F41
background
#FEF7F9
surface
#FCEDF1
border
#D5C8CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C02A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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