#C02F92#C02F92

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

Color values

HEX#C02F92
RGBrgb(192, 47, 146)
HSLhsl(319, 61%, 47%)
HSVhsv(319, 76%, 75%)
CMYKcmyk(0%, 75.5%, 24%, 24.7%)
CIE-LABlab(46.07, 64.94, -21.18)
CIE-LCHlch(46.07, 68.31, 341.93°)
OKLaboklab(56.21% 0.1962 -0.0566)
OKLCHoklch(56.21% 0.204 343.9)
XYZxyz(27.9442, 15.3178, 28.6736)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F92 #2FC05D
analogous
#A52FC0 #C02F92 #C02F4A
triadic
#C02F92 #92C02F #2F92C0
tetradic
#C02F92 #C0A52F #2FC05D #2F4AC0
square
#C02F92 #C0A52F #2FC05D #2F4AC0
split-complementary
#C02F92 #4AC02F #2FC0A5
monochromatic
#5E1747 #8F236D #C02F92 #D656AD #E288C5

Accessibility & contrast

On white

5.17
#C02F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02F92
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F92#FFFFFF#000000##FFFFFF
##C02F921.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405E95
Deuteranopia (green-blind)
#6D768F
Tritanopia (blue-blind)
#CD2E5D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c02f92;
/* rgb */ color: rgb(192, 47, 146);
/* oklch */ color: oklch(56.2% 0.204 343.9);
Tailwind
colors: {
  custom: {
    50: '#d776b2',
    500: '#c02f92',
    950: '#000000',
  },
}
SCSS
$custom: #c02f92;
$custom-light: #d776b2;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f92",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 319.034,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56214,
    "c": 0.20421,
    "h": 343.9
  },
  "luminance": 0.15315
}

Semantic roles & 50–950 ramp

primary
#C02F92
secondary
#7FCB97
accent
#E47744
background
#FDF7FA
surface
#FBEEF5
border
#D4C9CF
text
#150A11
muted
#837C80

Preview Lab

Preview with #C02F92

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

Preview Lab → · Contrast checker → · Palette generator →

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