#C02F6F#C02F6F

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

Color values

HEX#C02F6F
RGBrgb(192, 47, 111)
HSLhsl(334, 61%, 47%)
HSVhsv(334, 76%, 75%)
CMYKcmyk(0%, 75.5%, 42.2%, 24.7%)
CIE-LABlab(44.79, 60.99, -1.74)
CIE-LCHlch(44.79, 61.02, 358.36°)
OKLaboklab(54.86% 0.1874 -0.0038)
OKLCHoklch(54.86% 0.187 358.8)
XYZxyz(25.6259, 14.3905, 16.4640)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F6F #2FC080
analogous
#C02FB8 #C02F6F #C0382F
triadic
#C02F6F #6FC02F #2F6FC0
tetradic
#C02F6F #B8C02F #2FC080 #382FC0
square
#C02F6F #B8C02F #2FC080 #382FC0
split-complementary
#C02F6F #2FC038 #2FB8C0
monochromatic
#5E1736 #8F2353 #C02F6F #D6568F #E288AF

Accessibility & contrast

On white

5.42
#C02F6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#C02F6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02F6F
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F6F#FFFFFF#000000##FFFFFF
##C02F6F1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5871
Deuteranopia (green-blind)
#76746C
Tritanopia (blue-blind)
#D0174B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c02f6f;
/* rgb */ color: rgb(192, 47, 111);
/* oklch */ color: oklch(54.9% 0.187 358.8);
Tailwind
colors: {
  custom: {
    50: '#d87598',
    500: '#c02f6f',
    950: '#000000',
  },
}
SCSS
$custom: #c02f6f;
$custom-light: #d87598;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f6f",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 333.517,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54863,
    "c": 0.18739,
    "h": 358.8
  },
  "luminance": 0.14387
}

Semantic roles & 50–950 ramp

primary
#C02F6F
secondary
#7FCBAA
accent
#E49D44
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C02F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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