#C54071#C54071

#C54071 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.4% C 0.173 H 1.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C54071
RGBrgb(197, 64, 113)
HSLhsl(338, 53%, 51%)
HSVhsv(338, 68%, 77%)
CMYKcmyk(0%, 67.5%, 42.6%, 22.7%)
CIE-LABlab(47.92, 56.54, 1.71)
CIE-LCHlch(47.92, 56.57, 1.73°)
OKLaboklab(57.36% 0.173 0.0051)
OKLCHoklch(57.36% 0.173 1.7)
XYZxyz(27.8420, 16.7328, 17.3832)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54071 #40C594
analogous
#C540B3 #C54071 #C55140
triadic
#C54071 #71C540 #4071C5
tetradic
#C54071 #B3C540 #40C594 #5140C5
square
#C54071 #B3C540 #40C594 #5140C5
split-complementary
#C54071 #40C551 #40B3C5
monochromatic
#6A203C #992F56 #C54071 #D36F94 #E29EB7

Accessibility & contrast

On white

4.83
#C54071 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C54071 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C54071
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54071#FFFFFF#000000##FFFFFF
##C540711.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6172
Deuteranopia (green-blind)
#7F7B6E
Tritanopia (blue-blind)
#D52F54
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c54071;
/* rgb */ color: rgb(197, 64, 113);
/* oklch */ color: oklch(57.4% 0.173 1.7);
Tailwind
colors: {
  custom: {
    50: '#dc7e99',
    500: '#c54071',
    950: '#000000',
  },
}
SCSS
$custom: #c54071;
$custom-light: #dc7e99;
$custom-dark: #000000;
JSON
{
  "hex": "#c54071",
  "rgb": {
    "r": 197,
    "g": 64,
    "b": 113
  },
  "hsl": {
    "h": 337.895,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57358,
    "c": 0.17308,
    "h": 1.7
  },
  "luminance": 0.16729
}

Semantic roles & 50–950 ramp

primary
#C54071
secondary
#93CEB8
accent
#DDA74B
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #C54071

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

Preview Lab → · Contrast checker → · Palette generator →

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