#C02F89#C02F89

#C02F89 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.8% C 0.199 H 347.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#C02F89
RGBrgb(192, 47, 137)
HSLhsl(323, 61%, 47%)
HSVhsv(323, 76%, 75%)
CMYKcmyk(0%, 75.5%, 28.6%, 24.7%)
CIE-LABlab(45.70, 63.83, -16.30)
CIE-LCHlch(45.70, 65.88, 345.67°)
OKLaboklab(55.83% 0.1944 -0.043)
OKLCHoklch(55.83% 0.199 347.5)
XYZxyz(27.2714, 15.0487, 25.1306)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F89 #2FC066
analogous
#AF2FC0 #C02F89 #C02F40
triadic
#C02F89 #89C02F #2F89C0
tetradic
#C02F89 #C0AF2F #2FC066 #2F40C0
square
#C02F89 #C0AF2F #2FC066 #2F40C0
split-complementary
#C02F89 #40C02F #2FC0AF
monochromatic
#5E1743 #8F2366 #C02F89 #D656A5 #E288C0

Accessibility & contrast

On white

5.24
#C02F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#C02F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02F89
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F89#FFFFFF#000000##FFFFFF
##C02F891.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455C8B
Deuteranopia (green-blind)
#707586
Tritanopia (blue-blind)
#CE2958
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c02f89;
/* rgb */ color: rgb(192, 47, 137);
/* oklch */ color: oklch(55.8% 0.199 347.5);
Tailwind
colors: {
  custom: {
    50: '#d876ab',
    500: '#c02f89',
    950: '#000000',
  },
}
SCSS
$custom: #c02f89;
$custom-light: #d876ab;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f89",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 322.759,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55829,
    "c": 0.19913,
    "h": 347.5
  },
  "luminance": 0.15046
}

Semantic roles & 50–950 ramp

primary
#C02F89
secondary
#7FCB9C
accent
#E48144
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #C02F89

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

Preview Lab → · Contrast checker → · Palette generator →

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