#C24271#C24271

#C24271 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.1% C 0.168 H 1.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C24271
RGBrgb(194, 66, 113)
HSLhsl(338, 51%, 51%)
HSVhsv(338, 66%, 76%)
CMYKcmyk(0%, 66%, 41.8%, 23.9%)
CIE-LABlab(47.70, 54.83, 1.33)
CIE-LCHlch(47.70, 54.84, 1.39°)
OKLaboklab(57.1% 0.1677 0.0041)
OKLCHoklch(57.1% 0.168 1.4)
XYZxyz(27.1789, 16.5613, 17.3850)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24271 #42C293
analogous
#C242B1 #C24271 #C25342
triadic
#C24271 #71C242 #4271C2
tetradic
#C24271 #B1C242 #42C293 #5342C2
square
#C24271 #B1C242 #42C293 #5342C2
split-complementary
#C24271 #42C253 #42B1C2
monochromatic
#68223B #963156 #C24271 #D17094 #E09FB7

Accessibility & contrast

On white

4.87
#C24271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C24271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C24271
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24271#FFFFFF#000000##FFFFFF
##C242711.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6272
Deuteranopia (green-blind)
#7E7A6E
Tritanopia (blue-blind)
#D23355
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c24271;
/* rgb */ color: rgb(194, 66, 113);
/* oklch */ color: oklch(57.1% 0.168 1.4);
Tailwind
colors: {
  custom: {
    50: '#d97e99',
    500: '#c24271',
    950: '#000000',
  },
}
SCSS
$custom: #c24271;
$custom-light: #d97e99;
$custom-dark: #000000;
JSON
{
  "hex": "#c24271",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 337.969,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57099,
    "c": 0.16774,
    "h": 1.4
  },
  "luminance": 0.16558
}

Semantic roles & 50–950 ramp

primary
#C24271
secondary
#94CCB7
accent
#DBA74D
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #C24271

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

Preview Lab → · Contrast checker → · Palette generator →

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