#CB404D#CB404D

#CB404D is a mid, vivid red. Relative luminance 0.169; OKLCH L 57.4% C 0.175 H 19.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CB404D
RGBrgb(203, 64, 77)
HSLhsl(354, 57%, 52%)
HSVhsv(354, 68%, 80%)
CMYKcmyk(0%, 68.5%, 62.1%, 20.4%)
CIE-LABlab(48.14, 55.46, 24.05)
CIE-LCHlch(48.14, 60.45, 23.44°)
OKLaboklab(57.44% 0.1648 0.058)
OKLCHoklch(57.44% 0.175 19.4)
XYZxyz(27.8043, 16.9030, 8.8183)
Luminance0.1690 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB404D #40CBBE
analogous
#CB4093 #CB404D #CB7840
triadic
#CB404D #4DCB40 #404DCB
tetradic
#CB404D #93CB40 #40CBBE #7840CB
square
#CB404D #93CB40 #40CBBE #7840CB
split-complementary
#CB404D #40CB78 #4093CB
monochromatic
#721F27 #A22C37 #CB404D #D8707A #E5A0A7

Accessibility & contrast

On white

4.79
#CB404D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#CB404D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB404D
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB404D#FFFFFF#000000##FFFFFF
##CB404D1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65604D
Deuteranopia (green-blind)
#887D49
Tritanopia (blue-blind)
#DE1C46
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cb404d;
/* rgb */ color: rgb(203, 64, 77);
/* oklch */ color: oklch(57.4% 0.175 19.4);
Tailwind
colors: {
  custom: {
    50: '#e27d7e',
    500: '#cb404d',
    950: '#000000',
  },
}
SCSS
$custom: #cb404d;
$custom-light: #e27d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cb404d",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 77
  },
  "hsl": {
    "h": 354.388,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57443,
    "c": 0.17469,
    "h": 19.4
  },
  "luminance": 0.16899
}

Semantic roles & 50–950 ramp

primary
#CB404D
secondary
#95D2CC
accent
#E0D247
background
#FEF8F7
surface
#FDEFEE
border
#D5CAC9
text
#170A0A
muted
#857C7C

Preview Lab

Preview with #CB404D

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

Preview Lab → · Contrast checker → · Palette generator →

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