#C02F72#C02F72

#C02F72 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.0% C 0.188 H 357.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#C02F72
RGBrgb(192, 47, 114)
HSLhsl(332, 61%, 47%)
HSVhsv(332, 76%, 75%)
CMYKcmyk(0%, 75.5%, 40.6%, 24.7%)
CIE-LABlab(44.88, 61.29, -3.46)
CIE-LCHlch(44.88, 61.39, 356.77°)
OKLaboklab(54.96% 0.1883 -0.0083)
OKLCHoklch(54.96% 0.188 357.5)
XYZxyz(25.7939, 14.4577, 17.3486)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F72 #2FC07D
analogous
#C02FBB #C02F72 #C0352F
triadic
#C02F72 #72C02F #2F72C0
tetradic
#C02F72 #BBC02F #2FC07D #352FC0
square
#C02F72 #BBC02F #2FC07D #352FC0
split-complementary
#C02F72 #2FC035 #2FBBC0
monochromatic
#5E1738 #8F2355 #C02F72 #D65691 #E288B1

Accessibility & contrast

On white

5.40
#C02F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#C02F72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02F72
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F72#FFFFFF#000000##FFFFFF
##C02F721.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5974
Deuteranopia (green-blind)
#76746F
Tritanopia (blue-blind)
#D0194D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c02f72;
/* rgb */ color: rgb(192, 47, 114);
/* oklch */ color: oklch(55.0% 0.188 357.5);
Tailwind
colors: {
  custom: {
    50: '#d8759a',
    500: '#c02f72',
    950: '#000000',
  },
}
SCSS
$custom: #c02f72;
$custom-light: #d8759a;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f72",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 332.276,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54963,
    "c": 0.18848,
    "h": 357.5
  },
  "luminance": 0.14454
}

Semantic roles & 50–950 ramp

primary
#C02F72
secondary
#7FCBA8
accent
#E49A44
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#15090E
muted
#847B7E

Preview Lab

Preview with #C02F72

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

Preview Lab → · Contrast checker → · Palette generator →

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