#CB404E#CB404E

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

Color values

HEX#CB404E
RGBrgb(203, 64, 78)
HSLhsl(354, 57%, 52%)
HSVhsv(354, 68%, 80%)
CMYKcmyk(0%, 68.5%, 61.6%, 20.4%)
CIE-LABlab(48.16, 55.52, 23.47)
CIE-LCHlch(48.16, 60.28, 22.92°)
OKLaboklab(57.46% 0.1652 0.0568)
OKLCHoklch(57.46% 0.175 19)
XYZxyz(27.8399, 16.9173, 9.0056)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB404E #40CBBD
analogous
#CB4093 #CB404E #CB7840
triadic
#CB404E #4ECB40 #404ECB
tetradic
#CB404E #93CB40 #40CBBD #7840CB
square
#CB404E #93CB40 #40CBBD #7840CB
split-complementary
#CB404E #40CB78 #4093CB
monochromatic
#721F27 #A22C38 #CB404E #D8707B #E5A0A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB404E#FFFFFF#000000##FFFFFF
##CB404E1.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)
#65604E
Deuteranopia (green-blind)
#887D4A
Tritanopia (blue-blind)
#DE1D46
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cb404e;
/* rgb */ color: rgb(203, 64, 78);
/* oklch */ color: oklch(57.5% 0.175 19.0);
Tailwind
colors: {
  custom: {
    50: '#e27d7f',
    500: '#cb404e',
    950: '#000000',
  },
}
SCSS
$custom: #cb404e;
$custom-light: #e27d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cb404e",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 78
  },
  "hsl": {
    "h": 353.957,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57462,
    "c": 0.17465,
    "h": 19
  },
  "luminance": 0.16913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB404E

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

Preview Lab → · Contrast checker → · Palette generator →

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