#C02F88#C02F88

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

Color values

HEX#C02F88
RGBrgb(192, 47, 136)
HSLhsl(323, 61%, 47%)
HSVhsv(323, 76%, 75%)
CMYKcmyk(0%, 75.5%, 29.2%, 24.7%)
CIE-LABlab(45.66, 63.71, -15.75)
CIE-LCHlch(45.66, 65.63, 346.11°)
OKLaboklab(55.79% 0.1942 -0.0415)
OKLCHoklch(55.79% 0.199 347.9)
XYZxyz(27.2000, 15.0202, 24.7545)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F88 #2FC067
analogous
#AF2FC0 #C02F88 #C02F40
triadic
#C02F88 #88C02F #2F88C0
tetradic
#C02F88 #C0AF2F #2FC067 #2F40C0
square
#C02F88 #C0AF2F #2FC067 #2F40C0
split-complementary
#C02F88 #40C02F #2FC0AF
monochromatic
#5E1742 #8F2365 #C02F88 #D656A5 #E288BF

Accessibility & contrast

On white

5.25
#C02F88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#C02F88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02F88
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F88#FFFFFF#000000##FFFFFF
##C02F881.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455C8A
Deuteranopia (green-blind)
#707585
Tritanopia (blue-blind)
#CE2858
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c02f88;
/* rgb */ color: rgb(192, 47, 136);
/* oklch */ color: oklch(55.8% 0.199 347.9);
Tailwind
colors: {
  custom: {
    50: '#d876aa',
    500: '#c02f88',
    950: '#000000',
  },
}
SCSS
$custom: #c02f88;
$custom-light: #d876aa;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f88",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 323.172,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55788,
    "c": 0.19859,
    "h": 347.9
  },
  "luminance": 0.15017
}

Semantic roles & 50–950 ramp

primary
#C02F88
secondary
#7FCB9D
accent
#E48244
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #C02F88

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

Preview Lab → · Contrast checker → · Palette generator →

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