#C02E6C#C02E6C

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

Color values

HEX#C02E6C
RGBrgb(192, 46, 108)
HSLhsl(335, 61%, 47%)
HSVhsv(335, 76%, 75%)
CMYKcmyk(0%, 76%, 43.7%, 24.7%)
CIE-LABlab(44.58, 61.02, -0.19)
CIE-LCHlch(44.58, 61.02, 359.82°)
OKLaboklab(54.68% 0.1874 0.0002)
OKLCHoklch(54.68% 0.187 0.1)
XYZxyz(25.4240, 14.2465, 15.5955)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02E6C #2EC082
analogous
#C02EB5 #C02E6C #C0392E
triadic
#C02E6C #6CC02E #2E6CC0
tetradic
#C02E6C #B5C02E #2EC082 #392EC0
square
#C02E6C #B5C02E #2EC082 #392EC0
split-complementary
#C02E6C #2EC039 #2EB5C0
monochromatic
#5D1634 #8F2250 #C02E6C #D6558C #E286AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02E6C#FFFFFF#000000##FFFFFF
##C02E6C1.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)
#4F586D
Deuteranopia (green-blind)
#777469
Tritanopia (blue-blind)
#D01249
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c02e6c;
/* rgb */ color: rgb(192, 46, 108);
/* oklch */ color: oklch(54.7% 0.187 0.1);
Tailwind
colors: {
  custom: {
    50: '#d97595',
    500: '#c02e6c',
    950: '#000000',
  },
}
SCSS
$custom: #c02e6c;
$custom-light: #d97595;
$custom-dark: #000000;
JSON
{
  "hex": "#c02e6c",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 108
  },
  "hsl": {
    "h": 334.521,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54684,
    "c": 0.18738,
    "h": 0.1
  },
  "luminance": 0.14243
}

Semantic roles & 50–950 ramp

primary
#C02E6C
secondary
#7ECCAB
accent
#E4A043
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C02E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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