#CB5040#CB5040

#CB5040 is a mid, vivid red. Relative luminance 0.188; OKLCH L 59.1% C 0.160 H 30.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CB5040
RGBrgb(203, 80, 64)
HSLhsl(7, 57%, 52%)
HSVhsv(7, 68%, 80%)
CMYKcmyk(0%, 60.6%, 68.5%, 20.4%)
CIE-LABlab(50.46, 47.90, 34.53)
CIE-LCHlch(50.46, 59.05, 35.79°)
OKLaboklab(59.12% 0.1384 0.0799)
OKLCHoklch(59.12% 0.16 30)
XYZxyz(28.4255, 18.8078, 6.9829)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5040 #40BBCB
analogous
#CB4076 #CB5040 #CB9540
triadic
#CB5040 #40CB50 #5040CB
tetradic
#CB5040 #76CB40 #40BBCB #9540CB
square
#CB5040 #76CB40 #40BBCB #9540CB
split-complementary
#CB5040 #40CB95 #4076CB
monochromatic
#72281F #A23A2C #CB5040 #D87C70 #E5A8A0

Accessibility & contrast

On white

4.41
#CB5040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CB5040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5040
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5040#FFFFFF#000000##000000
##CB50401.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#71673E
Deuteranopia (green-blind)
#8F823D
Tritanopia (blue-blind)
#DF354D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb5040;
/* rgb */ color: rgb(203, 80, 64);
/* oklch */ color: oklch(59.1% 0.160 30.0);
Tailwind
colors: {
  custom: {
    50: '#e28675',
    500: '#cb5040',
    950: '#000000',
  },
}
SCSS
$custom: #cb5040;
$custom-light: #e28675;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5040",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 64
  },
  "hsl": {
    "h": 6.906,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59121,
    "c": 0.15981,
    "h": 30
  },
  "luminance": 0.18804
}

Semantic roles & 50–950 ramp

primary
#CB5040
secondary
#95CBD2
accent
#CFE047
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #CB5040

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

Preview Lab → · Contrast checker → · Palette generator →

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