#CB405F#CB405F

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

Color values

HEX#CB405F
RGBrgb(203, 64, 95)
HSLhsl(347, 57%, 52%)
HSVhsv(347, 68%, 80%)
CMYKcmyk(0%, 68.5%, 53.2%, 20.4%)
CIE-LABlab(48.50, 56.75, 13.65)
CIE-LCHlch(48.50, 58.37, 13.52°)
OKLaboklab(57.83% 0.1718 0.0346)
OKLCHoklch(57.83% 0.175 11.4)
XYZxyz(28.5301, 17.1933, 12.6406)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB405F #40CBAC
analogous
#CB40A4 #CB405F #CB6740
triadic
#CB405F #5FCB40 #405FCB
tetradic
#CB405F #A4CB40 #40CBAC #6740CB
square
#CB405F #A4CB40 #40CBAC #6740CB
split-complementary
#CB405F #40CB67 #40A4CB
monochromatic
#721F31 #A22C46 #CB405F #D87087 #E5A0B0

Accessibility & contrast

On white

4.73
#CB405F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#CB405F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB405F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB405F#FFFFFF#000000##FFFFFF
##CB405F1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62615F
Deuteranopia (green-blind)
#867E5C
Tritanopia (blue-blind)
#DD244C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cb405f;
/* rgb */ color: rgb(203, 64, 95);
/* oklch */ color: oklch(57.8% 0.175 11.4);
Tailwind
colors: {
  custom: {
    50: '#e17e8c',
    500: '#cb405f',
    950: '#000000',
  },
}
SCSS
$custom: #cb405f;
$custom-light: #e17e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cb405f",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 95
  },
  "hsl": {
    "h": 346.619,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57834,
    "c": 0.17522,
    "h": 11.4
  },
  "luminance": 0.1719
}

Semantic roles & 50–950 ramp

primary
#CB405F
secondary
#95D2C4
accent
#E0BE47
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#160B0C
muted
#847C7D

Preview Lab

Preview with #CB405F

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

Preview Lab → · Contrast checker → · Palette generator →

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