#C02E6B#C02E6B

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

Color values

HEX#C02E6B
RGBrgb(192, 46, 107)
HSLhsl(335, 61%, 47%)
HSVhsv(335, 76%, 75%)
CMYKcmyk(0%, 76%, 44.3%, 24.7%)
CIE-LABlab(44.55, 60.93, 0.39)
CIE-LCHlch(44.55, 60.93, 0.37°)
OKLaboklab(54.65% 0.1871 0.0017)
OKLCHoklch(54.65% 0.187 0.5)
XYZxyz(25.3711, 14.2253, 15.3168)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02E6B #2EC083
analogous
#C02EB4 #C02E6B #C03A2E
triadic
#C02E6B #6BC02E #2E6BC0
tetradic
#C02E6B #B4C02E #2EC083 #3A2EC0
square
#C02E6B #B4C02E #2EC083 #3A2EC0
split-complementary
#C02E6B #2EC03A #2EB4C0
monochromatic
#5D1634 #8F224F #C02E6B #D6558B #E286AD

Accessibility & contrast

On white

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

On black

3.84
#C02E6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C02E6B#FFFFFF#000000##FFFFFF
##C02E6B1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F576C
Deuteranopia (green-blind)
#777368
Tritanopia (blue-blind)
#D01149
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c02e6b;
/* rgb */ color: rgb(192, 46, 107);
/* oklch */ color: oklch(54.7% 0.187 0.5);
Tailwind
colors: {
  custom: {
    50: '#d97495',
    500: '#c02e6b',
    950: '#000000',
  },
}
SCSS
$custom: #c02e6b;
$custom-light: #d97495;
$custom-dark: #000000;
JSON
{
  "hex": "#c02e6b",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 334.932,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54652,
    "c": 0.18706,
    "h": 0.5
  },
  "luminance": 0.14222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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