#CB5742#CB5742

#CB5742 is a mid, vivid red. Relative luminance 0.199; OKLCH L 60.1% C 0.152 H 32.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CB5742
RGBrgb(203, 87, 66)
HSLhsl(9, 57%, 53%)
HSVhsv(9, 67%, 80%)
CMYKcmyk(0%, 57.1%, 67.5%, 20.4%)
CIE-LABlab(51.74, 44.73, 34.92)
CIE-LCHlch(51.74, 56.75, 37.97°)
OKLaboklab(60.09% 0.1289 0.081)
OKLCHoklch(60.09% 0.152 32.1)
XYZxyz(29.0230, 19.9100, 7.4679)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5742 #42B6CB
analogous
#CB4272 #CB5742 #CB9B42
triadic
#CB5742 #42CB57 #5742CB
tetradic
#CB5742 #72CB42 #42B6CB #9B42CB
square
#CB5742 #72CB42 #42B6CB #9B42CB
split-complementary
#CB5742 #42CB9B #4272CB
monochromatic
#732C20 #A33F2D #CB5742 #D88272 #E5ACA2

Accessibility & contrast

On white

4.22
#CB5742 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CB5742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5742
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5742#FFFFFF#000000##000000
##CB57421.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#766C3F
Deuteranopia (green-blind)
#92853F
Tritanopia (blue-blind)
#DE3F52
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb5742;
/* rgb */ color: rgb(203, 87, 66);
/* oklch */ color: oklch(60.1% 0.152 32.1);
Tailwind
colors: {
  custom: {
    50: '#e28a77',
    500: '#cb5742',
    950: '#000000',
  },
}
SCSS
$custom: #cb5742;
$custom-light: #e28a77;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5742",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 66
  },
  "hsl": {
    "h": 9.197,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60092,
    "c": 0.15227,
    "h": 32.1
  },
  "luminance": 0.19906
}

Semantic roles & 50–950 ramp

primary
#CB5742
secondary
#97C9D2
accent
#C9E048
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #CB5742

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

Preview Lab → · Contrast checker → · Palette generator →

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