#C02E5F#C02E5F

#C02E5F is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.3% C 0.184 H 6.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#C02E5F
RGBrgb(192, 46, 95)
HSLhsl(340, 61%, 47%)
HSVhsv(340, 76%, 75%)
CMYKcmyk(0%, 76%, 50.5%, 24.7%)
CIE-LABlab(44.22, 59.87, 7.35)
CIE-LCHlch(44.22, 60.32, 7.00°)
OKLaboklab(54.3% 0.1828 0.0192)
OKLCHoklch(54.3% 0.184 6)
XYZxyz(24.7830, 13.9901, 12.2196)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02E5F #2EC08F
analogous
#C02EA8 #C02E5F #C0462E
triadic
#C02E5F #5FC02E #2E5FC0
tetradic
#C02E5F #A8C02E #2EC08F #462EC0
square
#C02E5F #A8C02E #2EC08F #462EC0
split-complementary
#C02E5F #2EC046 #2EA8C0
monochromatic
#5D162E #8F2247 #C02E5F #D65580 #E286A5

Accessibility & contrast

On white

5.53
#C02E5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#C02E5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02E5F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02E5F#FFFFFF#000000##FFFFFF
##C02E5F1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535660
Deuteranopia (green-blind)
#79735C
Tritanopia (blue-blind)
#D10343
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c02e5f;
/* rgb */ color: rgb(192, 46, 95);
/* oklch */ color: oklch(54.3% 0.184 6.0);
Tailwind
colors: {
  custom: {
    50: '#d9748c',
    500: '#c02e5f',
    950: '#000000',
  },
}
SCSS
$custom: #c02e5f;
$custom-light: #d9748c;
$custom-dark: #000000;
JSON
{
  "hex": "#c02e5f",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 339.863,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54295,
    "c": 0.18385,
    "h": 6
  },
  "luminance": 0.13987
}

Semantic roles & 50–950 ramp

primary
#C02E5F
secondary
#7ECCB2
accent
#E4AE43
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C02E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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