#C02F8C#C02F8C

#C02F8C is a mid, highly saturated pink. Relative luminance 0.151; OKLCH L 56.0% C 0.201 H 346.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C02F8C
RGBrgb(192, 47, 140)
HSLhsl(322, 61%, 47%)
HSVhsv(322, 76%, 75%)
CMYKcmyk(0%, 75.5%, 27.1%, 24.7%)
CIE-LABlab(45.82, 64.19, -17.94)
CIE-LCHlch(45.82, 66.65, 344.39°)
OKLaboklab(55.96% 0.1951 -0.0475)
OKLCHoklch(55.96% 0.201 346.3)
XYZxyz(27.4896, 15.1360, 26.2797)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F8C #2FC063
analogous
#AB2FC0 #C02F8C #C02F44
triadic
#C02F8C #8CC02F #2F8CC0
tetradic
#C02F8C #C0AB2F #2FC063 #2F44C0
square
#C02F8C #C0AB2F #2FC063 #2F44C0
split-complementary
#C02F8C #44C02F #2FC0AB
monochromatic
#5E1744 #8F2368 #C02F8C #D656A8 #E288C1

Accessibility & contrast

On white

5.22
#C02F8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#C02F8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02F8C
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F8C#FFFFFF#000000##FFFFFF
##C02F8C1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435D8E
Deuteranopia (green-blind)
#6F7589
Tritanopia (blue-blind)
#CD2B5A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c02f8c;
/* rgb */ color: rgb(192, 47, 140);
/* oklch */ color: oklch(56.0% 0.201 346.3);
Tailwind
colors: {
  custom: {
    50: '#d776ad',
    500: '#c02f8c',
    950: '#000000',
  },
}
SCSS
$custom: #c02f8c;
$custom-light: #d776ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f8c",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 140
  },
  "hsl": {
    "h": 321.517,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55955,
    "c": 0.20077,
    "h": 346.3
  },
  "luminance": 0.15133
}

Semantic roles & 50–950 ramp

primary
#C02F8C
secondary
#7FCB9B
accent
#E47D44
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C02F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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