#C02F7F#C02F7F

#C02F7F is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.4% C 0.194 H 351.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#C02F7F
RGBrgb(192, 47, 127)
HSLhsl(327, 61%, 47%)
HSVhsv(327, 76%, 75%)
CMYKcmyk(0%, 75.5%, 33.9%, 24.7%)
CIE-LABlab(45.32, 62.67, -10.78)
CIE-LCHlch(45.32, 63.59, 350.24°)
OKLaboklab(55.43% 0.192 -0.0279)
OKLCHoklch(55.43% 0.194 351.7)
XYZxyz(26.5871, 14.7750, 21.5263)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F7F #2FC070
analogous
#B92FC0 #C02F7F #C02F36
triadic
#C02F7F #7FC02F #2F7FC0
tetradic
#C02F7F #C0B92F #2FC070 #2F36C0
square
#C02F7F #C0B92F #2FC070 #2F36C0
split-complementary
#C02F7F #36C02F #2FC0B9
monochromatic
#5E173E #8F235E #C02F7F #D6569D #E288B9

Accessibility & contrast

On white

5.31
#C02F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#C02F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02F7F
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F7F#FFFFFF#000000##FFFFFF
##C02F7F1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495B81
Deuteranopia (green-blind)
#72757C
Tritanopia (blue-blind)
#CF2353
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c02f7f;
/* rgb */ color: rgb(192, 47, 127);
/* oklch */ color: oklch(55.4% 0.194 351.7);
Tailwind
colors: {
  custom: {
    50: '#d876a4',
    500: '#c02f7f',
    950: '#000000',
  },
}
SCSS
$custom: #c02f7f;
$custom-light: #d876a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f7f",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 326.897,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55432,
    "c": 0.19404,
    "h": 351.7
  },
  "luminance": 0.14772
}

Semantic roles & 50–950 ramp

primary
#C02F7F
secondary
#7FCBA1
accent
#E48C44
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #C02F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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