#C02F71#C02F71

#C02F71 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.9% C 0.188 H 357.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#C02F71
RGBrgb(192, 47, 113)
HSLhsl(333, 61%, 47%)
HSVhsv(333, 76%, 75%)
CMYKcmyk(0%, 75.5%, 41.1%, 24.7%)
CIE-LABlab(44.85, 61.19, -2.89)
CIE-LCHlch(44.85, 61.26, 357.30°)
OKLaboklab(54.93% 0.188 -0.0068)
OKLCHoklch(54.93% 0.188 357.9)
XYZxyz(25.7373, 14.4350, 17.0505)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F71 #2FC07E
analogous
#C02FB9 #C02F71 #C0362F
triadic
#C02F71 #71C02F #2F71C0
tetradic
#C02F71 #B9C02F #2FC07E #362FC0
square
#C02F71 #B9C02F #2FC07E #362FC0
split-complementary
#C02F71 #2FC036 #2FB9C0
monochromatic
#5E1737 #8F2354 #C02F71 #D65690 #E288B1

Accessibility & contrast

On white

5.40
#C02F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#C02F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02F71
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F71#FFFFFF#000000##FFFFFF
##C02F711.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5973
Deuteranopia (green-blind)
#76746E
Tritanopia (blue-blind)
#D0194C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c02f71;
/* rgb */ color: rgb(192, 47, 113);
/* oklch */ color: oklch(54.9% 0.188 357.9);
Tailwind
colors: {
  custom: {
    50: '#d87599',
    500: '#c02f71',
    950: '#000000',
  },
}
SCSS
$custom: #c02f71;
$custom-light: #d87599;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f71",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 332.69,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5493,
    "c": 0.18811,
    "h": 357.9
  },
  "luminance": 0.14432
}

Semantic roles & 50–950 ramp

primary
#C02F71
secondary
#7FCBA9
accent
#E49B44
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C02F71

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

Preview Lab → · Contrast checker → · Palette generator →

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