#C02F91#C02F91

#C02F91 is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.2% C 0.204 H 344.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C02F91
RGBrgb(192, 47, 145)
HSLhsl(319, 61%, 47%)
HSVhsv(319, 76%, 75%)
CMYKcmyk(0%, 75.5%, 24.5%, 24.7%)
CIE-LABlab(46.02, 64.82, -20.65)
CIE-LCHlch(46.02, 68.03, 342.33°)
OKLaboklab(56.17% 0.196 -0.0551)
OKLCHoklch(56.17% 0.204 344.3)
XYZxyz(27.8667, 15.2868, 28.2657)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F91 #2FC05E
analogous
#A62FC0 #C02F91 #C02F49
triadic
#C02F91 #91C02F #2F91C0
tetradic
#C02F91 #C0A62F #2FC05E #2F49C0
square
#C02F91 #C0A62F #2FC05E #2F49C0
split-complementary
#C02F91 #49C02F #2FC0A6
monochromatic
#5E1747 #8F236C #C02F91 #D656AC #E288C5

Accessibility & contrast

On white

5.18
#C02F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#C02F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02F91
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F91#FFFFFF#000000##FFFFFF
##C02F911.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415E94
Deuteranopia (green-blind)
#6D768E
Tritanopia (blue-blind)
#CD2E5C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c02f91;
/* rgb */ color: rgb(192, 47, 145);
/* oklch */ color: oklch(56.2% 0.204 344.3);
Tailwind
colors: {
  custom: {
    50: '#d776b1',
    500: '#c02f91',
    950: '#000000',
  },
}
SCSS
$custom: #c02f91;
$custom-light: #d776b1;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f91",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 319.448,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5617,
    "c": 0.20363,
    "h": 344.3
  },
  "luminance": 0.15284
}

Semantic roles & 50–950 ramp

primary
#C02F91
secondary
#7FCB98
accent
#E47844
background
#FDF7FA
surface
#FBEEF5
border
#D4C9CF
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C02F91

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

Preview Lab → · Contrast checker → · Palette generator →

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