#C64273#C64273

#C64273 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.8% C 0.172 H 1.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C64273
RGBrgb(198, 66, 115)
HSLhsl(338, 54%, 52%)
HSVhsv(338, 67%, 78%)
CMYKcmyk(0%, 66.7%, 41.9%, 22.4%)
CIE-LABlab(48.44, 56.25, 1.27)
CIE-LCHlch(48.44, 56.26, 1.29°)
OKLaboklab(57.79% 0.1721 0.004)
OKLCHoklch(57.79% 0.172 1.3)
XYZxyz(28.3334, 17.1434, 18.0333)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64273 #42C695
analogous
#C642B5 #C64273 #C65342
triadic
#C64273 #73C642 #4273C6
tetradic
#C64273 #B5C642 #42C695 #5342C6
square
#C64273 #B5C642 #42C695 #5342C6
split-complementary
#C64273 #42C653 #42B5C6
monochromatic
#6D213D #9C2F57 #C64273 #D47196 #E2A0B9

Accessibility & contrast

On white

4.74
#C64273 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C64273 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C64273
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64273#FFFFFF#000000##FFFFFF
##C642731.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6374
Deuteranopia (green-blind)
#807C70
Tritanopia (blue-blind)
#D63256
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c64273;
/* rgb */ color: rgb(198, 66, 115);
/* oklch */ color: oklch(57.8% 0.172 1.3);
Tailwind
colors: {
  custom: {
    50: '#dc7f9b',
    500: '#c64273',
    950: '#000000',
  },
}
SCSS
$custom: #c64273;
$custom-light: #dc7f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#c64273",
  "rgb": {
    "r": 198,
    "g": 66,
    "b": 115
  },
  "hsl": {
    "h": 337.727,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57793,
    "c": 0.17213,
    "h": 1.3
  },
  "luminance": 0.1714
}

Semantic roles & 50–950 ramp

primary
#C64273
secondary
#95CFB9
accent
#DDA74B
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C64273

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

Preview Lab → · Contrast checker → · Palette generator →

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