#C02E6D#C02E6D

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

Color values

HEX#C02E6D
RGBrgb(192, 46, 109)
HSLhsl(334, 61%, 47%)
HSVhsv(334, 76%, 75%)
CMYKcmyk(0%, 76%, 43.2%, 24.7%)
CIE-LABlab(44.61, 61.12, -0.76)
CIE-LCHlch(44.61, 61.12, 359.29°)
OKLaboklab(54.72% 0.1877 -0.0013)
OKLCHoklch(54.72% 0.188 359.6)
XYZxyz(25.4775, 14.2679, 15.8774)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02E6D #2EC081
analogous
#C02EB6 #C02E6D #C0382E
triadic
#C02E6D #6DC02E #2E6DC0
tetradic
#C02E6D #B6C02E #2EC081 #382EC0
square
#C02E6D #B6C02E #2EC081 #382EC0
split-complementary
#C02E6D #2EC038 #2EB6C0
monochromatic
#5D1635 #8F2251 #C02E6D #D6558D #E286AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02E6D#FFFFFF#000000##FFFFFF
##C02E6D1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F586F
Deuteranopia (green-blind)
#76746A
Tritanopia (blue-blind)
#D0134A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c02e6d;
/* rgb */ color: rgb(192, 46, 109);
/* oklch */ color: oklch(54.7% 0.188 359.6);
Tailwind
colors: {
  custom: {
    50: '#d97596',
    500: '#c02e6d',
    950: '#000000',
  },
}
SCSS
$custom: #c02e6d;
$custom-light: #d97596;
$custom-dark: #000000;
JSON
{
  "hex": "#c02e6d",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 334.11,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54716,
    "c": 0.18771,
    "h": 359.6
  },
  "luminance": 0.14265
}

Semantic roles & 50–950 ramp

primary
#C02E6D
secondary
#7ECCAA
accent
#E49F43
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C02E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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