#C02F68#C02F68

#C02F68 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.6% C 0.185 H 2.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#C02F68
RGBrgb(192, 47, 104)
HSLhsl(336, 61%, 47%)
HSVhsv(336, 76%, 75%)
CMYKcmyk(0%, 75.5%, 45.8%, 24.7%)
CIE-LABlab(44.58, 60.33, 2.28)
CIE-LCHlch(44.58, 60.38, 2.17°)
OKLaboklab(54.64% 0.185 0.0065)
OKLCHoklch(54.64% 0.185 2)
XYZxyz(25.2555, 14.2423, 14.5131)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F68 #2FC087
analogous
#C02FB1 #C02F68 #C03F2F
triadic
#C02F68 #68C02F #2F68C0
tetradic
#C02F68 #B1C02F #2FC087 #3F2FC0
square
#C02F68 #B1C02F #2FC087 #3F2FC0
split-complementary
#C02F68 #2FC03F #2FB1C0
monochromatic
#5E1733 #8F234D #C02F68 #D65688 #E288AB

Accessibility & contrast

On white

5.46
#C02F68 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#C02F68 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02F68
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F68#FFFFFF#000000##FFFFFF
##C02F681.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515769
Deuteranopia (green-blind)
#787465
Tritanopia (blue-blind)
#D11148
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c02f68;
/* rgb */ color: rgb(192, 47, 104);
/* oklch */ color: oklch(54.6% 0.185 2.0);
Tailwind
colors: {
  custom: {
    50: '#d97592',
    500: '#c02f68',
    950: '#000000',
  },
}
SCSS
$custom: #c02f68;
$custom-light: #d97592;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f68",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 336.414,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54641,
    "c": 0.18514,
    "h": 2
  },
  "luminance": 0.14239
}

Semantic roles & 50–950 ramp

primary
#C02F68
secondary
#7FCBAE
accent
#E4A544
background
#FEF7F8
surface
#FCEEF0
border
#D5C9CB
text
#16090D
muted
#847B7D

Preview Lab

Preview with #C02F68

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

Preview Lab → · Contrast checker → · Palette generator →

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