#C21F5F#C21F5F

#C21F5F is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.198 H 4.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#C21F5F
RGBrgb(194, 31, 95)
HSLhsl(336, 72%, 44%)
HSVhsv(336, 84%, 76%)
CMYKcmyk(0%, 84%, 51%, 23.9%)
CIE-LABlab(43.18, 64.44, 5.93)
CIE-LCHlch(43.18, 64.71, 5.26°)
OKLaboklab(53.6% 0.1974 0.0157)
OKLCHoklch(53.6% 0.198 4.5)
XYZxyz(24.8060, 13.2791, 12.0812)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21F5F #1FC282
analogous
#C21FB1 #C21F5F #C2311F
triadic
#C21F5F #5FC21F #1F5FC2
tetradic
#C21F5F #B1C21F #1FC282 #311FC2
square
#C21F5F #B1C21F #1FC282 #311FC2
split-complementary
#C21F5F #1FC231 #1FB1C2
monochromatic
#580E2B #8D1745 #C21F5F #E03E7E #E973A1

Accessibility & contrast

On white

5.75
#C21F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#C21F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C21F5F
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21F5F#FFFFFF#000000##FFFFFF
##C21F5F1.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5260
Deuteranopia (green-blind)
#77715B
Tritanopia (blue-blind)
#D4003D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c21f5f;
/* rgb */ color: rgb(194, 31, 95);
/* oklch */ color: oklch(53.6% 0.198 4.5);
Tailwind
colors: {
  custom: {
    50: '#db6f8c',
    500: '#c21f5f',
    950: '#000000',
  },
}
SCSS
$custom: #c21f5f;
$custom-light: #db6f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c21f5f",
  "rgb": {
    "r": 194,
    "g": 31,
    "b": 95
  },
  "hsl": {
    "h": 336.442,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53601,
    "c": 0.19805,
    "h": 4.5
  },
  "luminance": 0.13276
}

Semantic roles & 50–950 ramp

primary
#C21F5F
secondary
#6DCFA9
accent
#EFA739
background
#FEF7F8
surface
#FDEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C21F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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