#CB405E#CB405E

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

Color values

HEX#CB405E
RGBrgb(203, 64, 94)
HSLhsl(347, 57%, 52%)
HSVhsv(347, 68%, 80%)
CMYKcmyk(0%, 68.5%, 53.7%, 20.4%)
CIE-LABlab(48.48, 56.67, 14.22)
CIE-LCHlch(48.48, 58.43, 14.09°)
OKLaboklab(57.81% 0.1714 0.0359)
OKLCHoklch(57.81% 0.175 11.8)
XYZxyz(28.4849, 17.1753, 12.4027)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB405E #40CBAD
analogous
#CB40A4 #CB405E #CB6740
triadic
#CB405E #5ECB40 #405ECB
tetradic
#CB405E #A4CB40 #40CBAD #6740CB
square
#CB405E #A4CB40 #40CBAD #6740CB
split-complementary
#CB405E #40CB67 #40A4CB
monochromatic
#721F31 #A22C45 #CB405E #D87087 #E5A0AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB405E#FFFFFF#000000##FFFFFF
##CB405E1.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)
#62615E
Deuteranopia (green-blind)
#867E5B
Tritanopia (blue-blind)
#DD244C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cb405e;
/* rgb */ color: rgb(203, 64, 94);
/* oklch */ color: oklch(57.8% 0.175 11.8);
Tailwind
colors: {
  custom: {
    50: '#e17e8b',
    500: '#cb405e',
    950: '#000000',
  },
}
SCSS
$custom: #cb405e;
$custom-light: #e17e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cb405e",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 347.05,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57809,
    "c": 0.17511,
    "h": 11.8
  },
  "luminance": 0.17171
}

Semantic roles & 50–950 ramp

primary
#CB405E
secondary
#95D2C5
accent
#E0BF47
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#160A0C
muted
#847C7D

Preview Lab

Preview with #CB405E

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

Preview Lab → · Contrast checker → · Palette generator →

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