#C64274#C64274

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

Color values

HEX#C64274
RGBrgb(198, 66, 116)
HSLhsl(337, 54%, 52%)
HSVhsv(337, 67%, 78%)
CMYKcmyk(0%, 66.7%, 41.4%, 22.4%)
CIE-LABlab(48.47, 56.35, 0.71)
CIE-LCHlch(48.47, 56.35, 0.72°)
OKLaboklab(57.82% 0.1724 0.0025)
OKLCHoklch(57.82% 0.172 0.8)
XYZxyz(28.3913, 17.1666, 18.3380)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64274 #42C694
analogous
#C642B6 #C64274 #C65242
triadic
#C64274 #74C642 #4274C6
tetradic
#C64274 #B6C642 #42C694 #5242C6
square
#C64274 #B6C642 #42C694 #5242C6
split-complementary
#C64274 #42C652 #42B6C6
monochromatic
#6D213E #9C2F58 #C64274 #D47197 #E2A0B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C64274#FFFFFF#000000##FFFFFF
##C642741.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)
#5C6375
Deuteranopia (green-blind)
#807C71
Tritanopia (blue-blind)
#D63256
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c64274;
/* rgb */ color: rgb(198, 66, 116);
/* oklch */ color: oklch(57.8% 0.172 0.8);
Tailwind
colors: {
  custom: {
    50: '#dc7f9b',
    500: '#c64274',
    950: '#000000',
  },
}
SCSS
$custom: #c64274;
$custom-light: #dc7f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#c64274",
  "rgb": {
    "r": 198,
    "g": 66,
    "b": 116
  },
  "hsl": {
    "h": 337.273,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57824,
    "c": 0.17245,
    "h": 0.8
  },
  "luminance": 0.17163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C64274

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

Preview Lab → · Contrast checker → · Palette generator →

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