#C21B4E#C21B4E

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

Color values

HEX#C21B4E
RGBrgb(194, 27, 78)
HSLhsl(342, 76%, 43%)
HSVhsv(342, 86%, 76%)
CMYKcmyk(0%, 86.1%, 59.8%, 23.9%)
CIE-LABlab(42.47, 64.08, 15.63)
CIE-LCHlch(42.47, 65.96, 13.70°)
OKLaboklab(52.95% 0.1938 0.0387)
OKLCHoklch(52.95% 0.198 11.3)
XYZxyz(24.0178, 12.8069, 8.4136)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21B4E #1BC28F
analogous
#C21BA1 #C21B4E #C23C1B
triadic
#C21B4E #4EC21B #1B4EC2
tetradic
#C21B4E #A1C21B #1BC28F #3C1BC2
square
#C21B4E #A1C21B #1BC28F #3C1BC2
split-complementary
#C21B4E #1BC23C #1BA1C2
monochromatic
#570C23 #8C1438 #C21B4E #E3376C #EB6D93

Accessibility & contrast

On white

5.90
#C21B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C21B4E
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21B4E#FFFFFF#000000##FFFFFF
##C21B4E1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F4F
Deuteranopia (green-blind)
#79704A
Tritanopia (blue-blind)
#D50033
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #c21b4e;
/* rgb */ color: rgb(194, 27, 78);
/* oklch */ color: oklch(52.9% 0.198 11.3);
Tailwind
colors: {
  custom: {
    50: '#dc6e7f',
    500: '#c21b4e',
    950: '#000000',
  },
}
SCSS
$custom: #c21b4e;
$custom-light: #dc6e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c21b4e",
  "rgb": {
    "r": 194,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 341.677,
    "s": 75.566,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52946,
    "c": 0.19765,
    "h": 11.3
  },
  "luminance": 0.12803
}

Semantic roles & 50–950 ramp

primary
#C21B4E
secondary
#68D1B1
accent
#F2B936
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C

Preview Lab

Preview with #C21B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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