#CB5042#CB5042

#CB5042 is a mid, vivid red. Relative luminance 0.188; OKLCH L 59.2% C 0.159 H 29.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CB5042
RGBrgb(203, 80, 66)
HSLhsl(6, 57%, 53%)
HSVhsv(6, 67%, 80%)
CMYKcmyk(0%, 60.6%, 67.5%, 20.4%)
CIE-LABlab(50.49, 48.01, 33.43)
CIE-LCHlch(50.49, 58.50, 34.85°)
OKLaboklab(59.15% 0.1391 0.0778)
OKLCHoklch(59.15% 0.159 29.2)
XYZxyz(28.4835, 18.8310, 7.2881)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5042 #42BDCB
analogous
#CB4279 #CB5042 #CB9442
triadic
#CB5042 #42CB50 #5042CB
tetradic
#CB5042 #79CB42 #42BDCB #9442CB
square
#CB5042 #79CB42 #42BDCB #9442CB
split-complementary
#CB5042 #42CB94 #4279CB
monochromatic
#732820 #A3392D #CB5042 #D87C72 #E5A9A2

Accessibility & contrast

On white

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

On black

4.77
#CB5042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5042
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5042#FFFFFF#000000##000000
##CB50421.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#716740
Deuteranopia (green-blind)
#8F823F
Tritanopia (blue-blind)
#DE354D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb5042;
/* rgb */ color: rgb(203, 80, 66);
/* oklch */ color: oklch(59.2% 0.159 29.2);
Tailwind
colors: {
  custom: {
    50: '#e28677',
    500: '#cb5042',
    950: '#000000',
  },
}
SCSS
$custom: #cb5042;
$custom-light: #e28677;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5042",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 66
  },
  "hsl": {
    "h": 6.131,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59151,
    "c": 0.15939,
    "h": 29.2
  },
  "luminance": 0.18827
}

Semantic roles & 50–950 ramp

primary
#CB5042
secondary
#97CCD2
accent
#D1E048
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #CB5042

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

Preview Lab → · Contrast checker → · Palette generator →

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