#CB504A#CB504A

#CB504A is a mid, vivid red. Relative luminance 0.189; OKLCH L 59.3% C 0.158 H 25.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CB504A
RGBrgb(203, 80, 74)
HSLhsl(3, 55%, 54%)
HSVhsv(3, 64%, 80%)
CMYKcmyk(0%, 60.6%, 63.5%, 20.4%)
CIE-LABlab(50.61, 48.48, 28.97)
CIE-LCHlch(50.61, 56.48, 30.86°)
OKLaboklab(59.28% 0.1421 0.0689)
OKLCHoklch(59.28% 0.158 25.8)
XYZxyz(28.7360, 18.9320, 8.6183)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB504A #4AC5CB
analogous
#CB4A85 #CB504A #CB914A
triadic
#CB504A #4ACB50 #504ACB
tetradic
#CB504A #85CB4A #4AC5CB #914ACB
square
#CB504A #85CB4A #4AC5CB #914ACB
split-complementary
#CB504A #4ACB91 #4A85CB
monochromatic
#782623 #A83630 #CB504A #D97E7A #E6ACA9

Accessibility & contrast

On white

4.39
#CB504A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CB504A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB504A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB504A#FFFFFF#000000##000000
##CB504A1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#706849
Deuteranopia (green-blind)
#8F8247
Tritanopia (blue-blind)
#DE374F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb504a;
/* rgb */ color: rgb(203, 80, 74);
/* oklch */ color: oklch(59.3% 0.158 25.8);
Tailwind
colors: {
  custom: {
    50: '#e1867c',
    500: '#cb504a',
    950: '#000000',
  },
}
SCSS
$custom: #cb504a;
$custom-light: #e1867c;
$custom-dark: #000000;
JSON
{
  "hex": "#cb504a",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 74
  },
  "hsl": {
    "h": 2.791,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59278,
    "c": 0.15794,
    "h": 25.8
  },
  "luminance": 0.18928
}

Semantic roles & 50–950 ramp

primary
#CB504A
secondary
#9DD1D4
accent
#D8DF49
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#170B09
muted
#857C7B

Preview Lab

Preview with #CB504A

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

Preview Lab → · Contrast checker → · Palette generator →

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