#C51B45#C51B45

#C51B45 is a mid, vivid red. Relative luminance 0.131; OKLCH L 53.3% C 0.200 H 15.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#C51B45
RGBrgb(197, 27, 69)
HSLhsl(345, 76%, 44%)
HSVhsv(345, 86%, 77%)
CMYKcmyk(0%, 86.3%, 65%, 22.7%)
CIE-LABlab(42.90, 64.33, 21.94)
CIE-LCHlch(42.90, 67.97, 18.83°)
OKLaboklab(53.31% 0.1925 0.0526)
OKLCHoklch(53.31% 0.2 15.3)
XYZxyz(24.4948, 13.0877, 6.8655)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C51B45 #1BC59B
analogous
#C51B9A #C51B45 #C5461B
triadic
#C51B45 #45C51B #1B45C5
tetradic
#C51B45 #9AC51B #1BC59B #461BC5
square
#C51B45 #9AC51B #1BC59B #461BC5
split-complementary
#C51B45 #1BC546 #1B9AC5
monochromatic
#590C1F #8F1432 #C51B45 #E43963 #EB6F8E

Accessibility & contrast

On white

5.81
#C51B45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#C51B45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C51B45
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C51B45#FFFFFF#000000##FFFFFF
##C51B451.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524F45
Deuteranopia (green-blind)
#7C7140
Tritanopia (blue-blind)
#D8002F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #c51b45;
/* rgb */ color: rgb(197, 27, 69);
/* oklch */ color: oklch(53.3% 0.200 15.3);
Tailwind
colors: {
  custom: {
    50: '#df6e78',
    500: '#c51b45',
    950: '#000000',
  },
}
SCSS
$custom: #c51b45;
$custom-light: #df6e78;
$custom-dark: #000000;
JSON
{
  "hex": "#c51b45",
  "rgb": {
    "r": 197,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 345.176,
    "s": 75.893,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53305,
    "c": 0.1995,
    "h": 15.3
  },
  "luminance": 0.13084
}

Semantic roles & 50–950 ramp

primary
#C51B45
secondary
#6AD1B8
accent
#F2C435
background
#FEF7F7
surface
#FDEDED
border
#D5C8C8
text
#170808
muted
#857B7B

Preview Lab

Preview with #C51B45

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

Preview Lab → · Contrast checker → · Palette generator →

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