#CB404B#CB404B

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

Color values

HEX#CB404B
RGBrgb(203, 64, 75)
HSLhsl(355, 57%, 52%)
HSVhsv(355, 68%, 80%)
CMYKcmyk(0%, 68.5%, 63.1%, 20.4%)
CIE-LABlab(48.10, 55.34, 25.21)
CIE-LCHlch(48.10, 60.81, 24.49°)
OKLaboklab(57.4% 0.164 0.0605)
OKLCHoklch(57.4% 0.175 20.2)
XYZxyz(27.7348, 16.8752, 8.4521)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB404B #40CBC0
analogous
#CB4090 #CB404B #CB7B40
triadic
#CB404B #4BCB40 #404BCB
tetradic
#CB404B #90CB40 #40CBC0 #7B40CB
square
#CB404B #90CB40 #40CBC0 #7B40CB
split-complementary
#CB404B #40CB7B #4090CB
monochromatic
#721F25 #A22C35 #CB404B #D87078 #E5A0A6

Accessibility & contrast

On white

4.80
#CB404B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#CB404B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB404B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB404B#FFFFFF#000000##FFFFFF
##CB404B1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655F4A
Deuteranopia (green-blind)
#887D47
Tritanopia (blue-blind)
#DE1B45
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cb404b;
/* rgb */ color: rgb(203, 64, 75);
/* oklch */ color: oklch(57.4% 0.175 20.2);
Tailwind
colors: {
  custom: {
    50: '#e27d7d',
    500: '#cb404b',
    950: '#000000',
  },
}
SCSS
$custom: #cb404b;
$custom-light: #e27d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cb404b",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 75
  },
  "hsl": {
    "h": 355.252,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57405,
    "c": 0.1748,
    "h": 20.2
  },
  "luminance": 0.16871
}

Semantic roles & 50–950 ramp

primary
#CB404B
secondary
#95D2CD
accent
#E0D447
background
#FEF8F7
surface
#FDEFEE
border
#D5CAC9
text
#170A09
muted
#857C7B

Preview Lab

Preview with #CB404B

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

Preview Lab → · Contrast checker → · Palette generator →

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