#CB405D#CB405D

#CB405D is a mid, vivid red. Relative luminance 0.172; OKLCH L 57.8% C 0.175 H 12.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CB405D
RGBrgb(203, 64, 93)
HSLhsl(347, 57%, 52%)
HSVhsv(347, 68%, 80%)
CMYKcmyk(0%, 68.5%, 54.2%, 20.4%)
CIE-LABlab(48.46, 56.59, 14.80)
CIE-LCHlch(48.46, 58.49, 14.66°)
OKLaboklab(57.79% 0.171 0.0373)
OKLCHoklch(57.79% 0.175 12.3)
XYZxyz(28.4403, 17.1575, 12.1679)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB405D #40CBAE
analogous
#CB40A3 #CB405D #CB6840
triadic
#CB405D #5DCB40 #405DCB
tetradic
#CB405D #A3CB40 #40CBAE #6840CB
square
#CB405D #A3CB40 #40CBAE #6840CB
split-complementary
#CB405D #40CB68 #40A3CB
monochromatic
#721F30 #A22C45 #CB405D #D87086 #E5A0AF

Accessibility & contrast

On white

4.74
#CB405D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#CB405D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB405D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB405D#FFFFFF#000000##FFFFFF
##CB405D1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62615D
Deuteranopia (green-blind)
#867E5A
Tritanopia (blue-blind)
#DD234C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cb405d;
/* rgb */ color: rgb(203, 64, 93);
/* oklch */ color: oklch(57.8% 0.175 12.3);
Tailwind
colors: {
  custom: {
    50: '#e17e8a',
    500: '#cb405d',
    950: '#000000',
  },
}
SCSS
$custom: #cb405d;
$custom-light: #e17e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cb405d",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 93
  },
  "hsl": {
    "h": 347.482,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57786,
    "c": 0.17502,
    "h": 12.3
  },
  "luminance": 0.17154
}

Semantic roles & 50–950 ramp

primary
#CB405D
secondary
#95D2C5
accent
#E0C147
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#160A0B
muted
#847C7C

Preview Lab

Preview with #CB405D

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

Preview Lab → · Contrast checker → · Palette generator →

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