#C54062#C54062

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

Color values

HEX#C54062
RGBrgb(197, 64, 98)
HSLhsl(345, 53%, 51%)
HSVhsv(345, 68%, 77%)
CMYKcmyk(0%, 67.5%, 50.3%, 22.7%)
CIE-LABlab(47.52, 55.14, 10.30)
CIE-LCHlch(47.52, 56.09, 10.58°)
OKLaboklab(56.93% 0.1676 0.0265)
OKLCHoklch(56.93% 0.17 9)
XYZxyz(27.0662, 16.4225, 13.2975)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54062 #40C5A3
analogous
#C540A4 #C54062 #C56040
triadic
#C54062 #62C540 #4062C5
tetradic
#C54062 #A4C540 #40C5A3 #6040C5
square
#C54062 #A4C540 #40C5A3 #6040C5
split-complementary
#C54062 #40C560 #40A4C5
monochromatic
#6A2033 #992F4A #C54062 #D36F89 #E29EAF

Accessibility & contrast

On white

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

On black

4.28
#C54062 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C54062#FFFFFF#000000##FFFFFF
##C540621.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6063
Deuteranopia (green-blind)
#817B5F
Tritanopia (blue-blind)
#D6294E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c54062;
/* rgb */ color: rgb(197, 64, 98);
/* oklch */ color: oklch(56.9% 0.170 9.0);
Tailwind
colors: {
  custom: {
    50: '#dc7d8e',
    500: '#c54062',
    950: '#000000',
  },
}
SCSS
$custom: #c54062;
$custom-light: #dc7d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#c54062",
  "rgb": {
    "r": 197,
    "g": 64,
    "b": 98
  },
  "hsl": {
    "h": 344.662,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56933,
    "c": 0.16963,
    "h": 9
  },
  "luminance": 0.16419
}

Semantic roles & 50–950 ramp

primary
#C54062
secondary
#93CEBF
accent
#DDB84B
background
#FEF8F8
surface
#FCEFF0
border
#D5CACB
text
#160A0C
muted
#847C7D

Preview Lab

Preview with #C54062

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

Preview Lab → · Contrast checker → · Palette generator →

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