#C04277#C04277

#C04277 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.0% C 0.168 H 357.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C04277
RGBrgb(192, 66, 119)
HSLhsl(335, 50%, 51%)
HSVhsv(335, 66%, 75%)
CMYKcmyk(0%, 65.6%, 38%, 24.7%)
CIE-LABlab(47.54, 54.86, -2.59)
CIE-LCHlch(47.54, 54.92, 357.29°)
OKLaboklab(56.98% 0.1678 -0.0061)
OKLCHoklch(56.98% 0.168 357.9)
XYZxyz(27.0179, 16.4379, 19.1992)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04277 #42C08B
analogous
#C042B6 #C04277 #C04C42
triadic
#C04277 #77C042 #4277C0
tetradic
#C04277 #B6C042 #42C08B #4C42C0
square
#C04277 #B6C042 #42C08B #4C42C0
split-complementary
#C04277 #42C04C #42B6C0
monochromatic
#66223E #94315B #C04277 #CF7098 #DF9EB9

Accessibility & contrast

On white

4.90
#C04277 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#C04277 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04277
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04277#FFFFFF#000000##FFFFFF
##C042771.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596278
Deuteranopia (green-blind)
#7B7A74
Tritanopia (blue-blind)
#CF3657
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c04277;
/* rgb */ color: rgb(192, 66, 119);
/* oklch */ color: oklch(57.0% 0.168 357.9);
Tailwind
colors: {
  custom: {
    50: '#d77e9e',
    500: '#c04277',
    950: '#000000',
  },
}
SCSS
$custom: #c04277;
$custom-light: #d77e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#c04277",
  "rgb": {
    "r": 192,
    "g": 66,
    "b": 119
  },
  "hsl": {
    "h": 334.762,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56976,
    "c": 0.16794,
    "h": 357.9
  },
  "luminance": 0.16435
}

Semantic roles & 50–950 ramp

primary
#C04277
secondary
#93CBB3
accent
#DA9F4E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #C04277

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

Preview Lab → · Contrast checker → · Palette generator →

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