#CB405A#CB405A

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

Color values

HEX#CB405A
RGBrgb(203, 64, 90)
HSLhsl(349, 57%, 52%)
HSVhsv(349, 68%, 80%)
CMYKcmyk(0%, 68.5%, 55.7%, 20.4%)
CIE-LABlab(48.39, 56.36, 16.53)
CIE-LCHlch(48.39, 58.74, 16.35°)
OKLaboklab(57.72% 0.1699 0.0413)
OKLCHoklch(57.72% 0.175 13.7)
XYZxyz(28.3101, 17.1053, 11.4818)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB405A #40CBB1
analogous
#CB40A0 #CB405A #CB6C40
triadic
#CB405A #5ACB40 #405ACB
tetradic
#CB405A #A0CB40 #40CBB1 #6C40CB
square
#CB405A #A0CB40 #40CBB1 #6C40CB
split-complementary
#CB405A #40CB6C #40A0CB
monochromatic
#721F2E #A22C42 #CB405A #D87084 #E5A0AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB405A#FFFFFF#000000##FFFFFF
##CB405A1.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)
#63615A
Deuteranopia (green-blind)
#867D57
Tritanopia (blue-blind)
#DE224A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cb405a;
/* rgb */ color: rgb(203, 64, 90);
/* oklch */ color: oklch(57.7% 0.175 13.7);
Tailwind
colors: {
  custom: {
    50: '#e17e88',
    500: '#cb405a',
    950: '#000000',
  },
}
SCSS
$custom: #cb405a;
$custom-light: #e17e88;
$custom-dark: #000000;
JSON
{
  "hex": "#cb405a",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 90
  },
  "hsl": {
    "h": 348.777,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57716,
    "c": 0.1748,
    "h": 13.7
  },
  "luminance": 0.17101
}

Semantic roles & 50–950 ramp

primary
#CB405A
secondary
#95D2C6
accent
#E0C447
background
#FEF8F8
surface
#FDEFEF
border
#D5CACA
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #CB405A

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

Preview Lab → · Contrast checker → · Palette generator →

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