#C64873#C64873

#C64873 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.5% C 0.164 H 2.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C64873
RGBrgb(198, 72, 115)
HSLhsl(340, 53%, 53%)
HSVhsv(340, 64%, 78%)
CMYKcmyk(0%, 63.6%, 41.9%, 22.4%)
CIE-LABlab(49.35, 53.76, 2.59)
CIE-LCHlch(49.35, 53.82, 2.76°)
OKLaboklab(58.47% 0.1642 0.0073)
OKLCHoklch(58.47% 0.164 2.6)
XYZxyz(28.7025, 17.8817, 18.1563)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64873 #48C69B
analogous
#C648B2 #C64873 #C65C48
triadic
#C64873 #73C648 #4873C6
tetradic
#C64873 #B2C648 #48C69B #5C48C6
square
#C64873 #B2C648 #48C69B #5C48C6
split-complementary
#C64873 #48C65C #48B2C6
monochromatic
#71233D #9F3257 #C64873 #D57797 #E3A5BA

Accessibility & contrast

On white

4.59
#C64873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#C64873 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C64873
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64873#FFFFFF#000000##FFFFFF
##C648731.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616674
Deuteranopia (green-blind)
#827E70
Tritanopia (blue-blind)
#D63959
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c64873;
/* rgb */ color: rgb(198, 72, 115);
/* oklch */ color: oklch(58.5% 0.164 2.6);
Tailwind
colors: {
  custom: {
    50: '#dc829b',
    500: '#c64873',
    950: '#000000',
  },
}
SCSS
$custom: #c64873;
$custom-light: #dc829b;
$custom-dark: #000000;
JSON
{
  "hex": "#c64873",
  "rgb": {
    "r": 198,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 339.524,
    "s": 52.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5847,
    "c": 0.16437,
    "h": 2.6
  },
  "luminance": 0.17878
}

Semantic roles & 50–950 ramp

primary
#C64873
secondary
#9AD0BE
accent
#DCAB4C
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C64873

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

Preview Lab → · Contrast checker → · Palette generator →

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