#C02F74#C02F74

#C02F74 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.0% C 0.189 H 356.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#C02F74
RGBrgb(192, 47, 116)
HSLhsl(331, 61%, 47%)
HSVhsv(331, 76%, 75%)
CMYKcmyk(0%, 75.5%, 39.6%, 24.7%)
CIE-LABlab(44.95, 61.49, -4.59)
CIE-LCHlch(44.95, 61.66, 355.73°)
OKLaboklab(55.03% 0.1889 -0.0113)
OKLCHoklch(55.03% 0.189 356.6)
XYZxyz(25.9089, 14.5037, 17.9547)
Luminance0.1450 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F74 #2FC07B
analogous
#C02FBD #C02F74 #C0332F
triadic
#C02F74 #74C02F #2F74C0
tetradic
#C02F74 #BDC02F #2FC07B #332FC0
square
#C02F74 #BDC02F #2FC07B #332FC0
split-complementary
#C02F74 #2FC033 #2FBDC0
monochromatic
#5E1739 #8F2356 #C02F74 #D65693 #E288B3

Accessibility & contrast

On white

5.38
#C02F74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#C02F74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02F74
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F74#FFFFFF#000000##FFFFFF
##C02F741.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5976
Deuteranopia (green-blind)
#757471
Tritanopia (blue-blind)
#D01B4E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c02f74;
/* rgb */ color: rgb(192, 47, 116);
/* oklch */ color: oklch(55.0% 0.189 356.6);
Tailwind
colors: {
  custom: {
    50: '#d8759b',
    500: '#c02f74',
    950: '#000000',
  },
}
SCSS
$custom: #c02f74;
$custom-light: #d8759b;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f74",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 331.448,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55032,
    "c": 0.18926,
    "h": 356.6
  },
  "luminance": 0.145
}

Semantic roles & 50–950 ramp

primary
#C02F74
secondary
#7FCBA7
accent
#E49844
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #C02F74

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

Preview Lab → · Contrast checker → · Palette generator →

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