#C64271#C64271

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

Color values

HEX#C64271
RGBrgb(198, 66, 113)
HSLhsl(339, 54%, 52%)
HSVhsv(339, 67%, 78%)
CMYKcmyk(0%, 66.7%, 42.9%, 22.4%)
CIE-LABlab(48.38, 56.05, 2.40)
CIE-LCHlch(48.38, 56.10, 2.46°)
OKLaboklab(57.73% 0.1714 0.0069)
OKLCHoklch(57.73% 0.172 2.3)
XYZxyz(28.2196, 17.0979, 17.4337)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64271 #42C697
analogous
#C642B3 #C64271 #C65542
triadic
#C64271 #71C642 #4271C6
tetradic
#C64271 #B3C642 #42C697 #5542C6
square
#C64271 #B3C642 #42C697 #5542C6
split-complementary
#C64271 #42C655 #42B3C6
monochromatic
#6D213C #9C2F56 #C64271 #D47194 #E2A0B8

Accessibility & contrast

On white

4.75
#C64271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C64271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C64271
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64271#FFFFFF#000000##FFFFFF
##C642711.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6372
Deuteranopia (green-blind)
#807C6E
Tritanopia (blue-blind)
#D63155
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c64271;
/* rgb */ color: rgb(198, 66, 113);
/* oklch */ color: oklch(57.7% 0.172 2.3);
Tailwind
colors: {
  custom: {
    50: '#dc7f99',
    500: '#c64271',
    950: '#000000',
  },
}
SCSS
$custom: #c64271;
$custom-light: #dc7f99;
$custom-dark: #000000;
JSON
{
  "hex": "#c64271",
  "rgb": {
    "r": 198,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 338.636,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57732,
    "c": 0.17153,
    "h": 2.3
  },
  "luminance": 0.17094
}

Semantic roles & 50–950 ramp

primary
#C64271
secondary
#95CFBA
accent
#DDA94B
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #C64271

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

Preview Lab → · Contrast checker → · Palette generator →

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