#CB4040#CB4040

#CB4040 is a mid, vivid red. Relative luminance 0.167; OKLCH L 57.2% C 0.176 H 24.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CB4040
RGBrgb(203, 64, 64)
HSLhsl(0, 57%, 52%)
HSVhsv(0, 68%, 80%)
CMYKcmyk(0%, 68.5%, 68.5%, 20.4%)
CIE-LABlab(47.93, 54.71, 31.51)
CIE-LCHlch(47.93, 63.13, 29.94°)
OKLaboklab(57.22% 0.1598 0.0732)
OKLCHoklch(57.22% 0.176 24.6)
XYZxyz(27.3903, 16.7374, 6.6379)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4040 #40CBCB
analogous
#CB4086 #CB4040 #CB8640
triadic
#CB4040 #40CB40 #4040CB
tetradic
#CB4040 #86CB40 #40CBCB #8640CB
square
#CB4040 #86CB40 #40CBCB #8640CB
split-complementary
#CB4040 #40CB86 #4086CB
monochromatic
#721F1F #A22C2C #CB4040 #D87070 #E5A0A0

Accessibility & contrast

On white

4.83
#CB4040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#CB4040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB4040
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4040#FFFFFF#000000##FFFFFF
##CB40401.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F3F
Deuteranopia (green-blind)
#897D3C
Tritanopia (blue-blind)
#DF1742
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cb4040;
/* rgb */ color: rgb(203, 64, 64);
/* oklch */ color: oklch(57.2% 0.176 24.6);
Tailwind
colors: {
  custom: {
    50: '#e37d75',
    500: '#cb4040',
    950: '#000000',
  },
}
SCSS
$custom: #cb4040;
$custom-light: #e37d75;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4040",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 0,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57218,
    "c": 0.1758,
    "h": 24.6
  },
  "luminance": 0.16733
}

Semantic roles & 50–950 ramp

primary
#CB4040
secondary
#95D2D2
accent
#E0E047
background
#FFF8F7
surface
#FEEFED
border
#D6CAC8
text
#170A08
muted
#857C7B

Preview Lab

Preview with #CB4040

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

Preview Lab → · Contrast checker → · Palette generator →

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