#C21D48#C21D48

#C21D48 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.9% C 0.196 H 13.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#C21D48
RGBrgb(194, 29, 72)
HSLhsl(344, 74%, 44%)
HSVhsv(344, 85%, 76%)
CMYKcmyk(0%, 85.1%, 62.9%, 23.9%)
CIE-LABlab(42.49, 63.30, 19.42)
CIE-LCHlch(42.49, 66.21, 17.06°)
OKLaboklab(52.92% 0.1902 0.0471)
OKLCHoklch(52.92% 0.196 13.9)
XYZxyz(23.8598, 12.8197, 7.3478)
Luminance0.1282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21D48 #1DC297
analogous
#C21D9A #C21D48 #C2451D
triadic
#C21D48 #48C21D #1D48C2
tetradic
#C21D48 #9AC21D #1DC297 #451DC2
square
#C21D48 #9AC21D #1DC297 #451DC2
split-complementary
#C21D48 #1DC245 #1D9AC2
monochromatic
#580D20 #8D1534 #C21D48 #E23B66 #EA7090

Accessibility & contrast

On white

5.89
#C21D48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#C21D48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C21D48
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21D48#FFFFFF#000000##FFFFFF
##C21D481.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514F48
Deuteranopia (green-blind)
#7A7043
Tritanopia (blue-blind)
#D50031
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #c21d48;
/* rgb */ color: rgb(194, 29, 72);
/* oklch */ color: oklch(52.9% 0.196 13.9);
Tailwind
colors: {
  custom: {
    50: '#dd6e7a',
    500: '#c21d48',
    950: '#000000',
  },
}
SCSS
$custom: #c21d48;
$custom-light: #dd6e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c21d48",
  "rgb": {
    "r": 194,
    "g": 29,
    "b": 72
  },
  "hsl": {
    "h": 344.364,
    "s": 73.991,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5292,
    "c": 0.19591,
    "h": 13.9
  },
  "luminance": 0.12816
}

Semantic roles & 50–950 ramp

primary
#C21D48
secondary
#6BD0B6
accent
#F1C037
background
#FEF7F7
surface
#FDEDED
border
#D5C8C8
text
#170809
muted
#857B7B

Preview Lab

Preview with #C21D48

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

Preview Lab → · Contrast checker → · Palette generator →

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