#C02F6A#C02F6A

#C02F6A is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.7% C 0.186 H 1.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#C02F6A
RGBrgb(192, 47, 106)
HSLhsl(336, 61%, 47%)
HSVhsv(336, 76%, 75%)
CMYKcmyk(0%, 75.5%, 44.8%, 24.7%)
CIE-LABlab(44.64, 60.52, 1.13)
CIE-LCHlch(44.64, 60.53, 1.07°)
OKLaboklab(54.7% 0.1857 0.0036)
OKLCHoklch(54.7% 0.186 1.1)
XYZxyz(25.3583, 14.2835, 15.0545)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F6A #2FC085
analogous
#C02FB3 #C02F6A #C03D2F
triadic
#C02F6A #6AC02F #2F6AC0
tetradic
#C02F6A #B3C02F #2FC085 #3D2FC0
square
#C02F6A #B3C02F #2FC085 #3D2FC0
split-complementary
#C02F6A #2FC03D #2FB3C0
monochromatic
#5E1734 #8F234F #C02F6A #D6568A #E288AC

Accessibility & contrast

On white

5.45
#C02F6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#C02F6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02F6A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F6A#FFFFFF#000000##FFFFFF
##C02F6A1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586B
Deuteranopia (green-blind)
#777467
Tritanopia (blue-blind)
#D01349
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c02f6a;
/* rgb */ color: rgb(192, 47, 106);
/* oklch */ color: oklch(54.7% 0.186 1.1);
Tailwind
colors: {
  custom: {
    50: '#d97594',
    500: '#c02f6a',
    950: '#000000',
  },
}
SCSS
$custom: #c02f6a;
$custom-light: #d97594;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f6a",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 335.586,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54703,
    "c": 0.18573,
    "h": 1.1
  },
  "luminance": 0.1428
}

Semantic roles & 50–950 ramp

primary
#C02F6A
secondary
#7FCBAC
accent
#E4A344
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C02F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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