#CB405B#CB405B

#CB405B is a mid, vivid red. Relative luminance 0.171; OKLCH L 57.7% C 0.175 H 13.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CB405B
RGBrgb(203, 64, 91)
HSLhsl(348, 57%, 52%)
HSVhsv(348, 68%, 80%)
CMYKcmyk(0%, 68.5%, 55.2%, 20.4%)
CIE-LABlab(48.41, 56.44, 15.95)
CIE-LCHlch(48.41, 58.65, 15.79°)
OKLaboklab(57.74% 0.1702 0.04)
OKLCHoklch(57.74% 0.175 13.2)
XYZxyz(28.3529, 17.1225, 11.7075)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB405B #40CBB0
analogous
#CB40A1 #CB405B #CB6A40
triadic
#CB405B #5BCB40 #405BCB
tetradic
#CB405B #A1CB40 #40CBB0 #6A40CB
square
#CB405B #A1CB40 #40CBB0 #6A40CB
split-complementary
#CB405B #40CB6A #40A1CB
monochromatic
#721F2F #A22C43 #CB405B #D87084 #E5A0AE

Accessibility & contrast

On white

4.75
#CB405B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#CB405B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB405B
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB405B#FFFFFF#000000##FFFFFF
##CB405B1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63615B
Deuteranopia (green-blind)
#867D58
Tritanopia (blue-blind)
#DE224B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cb405b;
/* rgb */ color: rgb(203, 64, 91);
/* oklch */ color: oklch(57.7% 0.175 13.2);
Tailwind
colors: {
  custom: {
    50: '#e17e89',
    500: '#cb405b',
    950: '#000000',
  },
}
SCSS
$custom: #cb405b;
$custom-light: #e17e89;
$custom-dark: #000000;
JSON
{
  "hex": "#cb405b",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 91
  },
  "hsl": {
    "h": 348.345,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57739,
    "c": 0.17485,
    "h": 13.2
  },
  "luminance": 0.17119
}

Semantic roles & 50–950 ramp

primary
#CB405B
secondary
#95D2C6
accent
#E0C347
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #CB405B

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

Preview Lab → · Contrast checker → · Palette generator →

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