#CB5340#CB5340

#CB5340 is a mid, vivid red. Relative luminance 0.193; OKLCH L 59.5% C 0.157 H 31.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CB5340
RGBrgb(203, 83, 64)
HSLhsl(8, 57%, 52%)
HSVhsv(8, 68%, 80%)
CMYKcmyk(0%, 59.1%, 68.5%, 20.4%)
CIE-LABlab(50.99, 46.51, 35.15)
CIE-LCHlch(50.99, 58.30, 37.08°)
OKLaboklab(59.52% 0.1341 0.0812)
OKLCHoklch(59.52% 0.157 31.2)
XYZxyz(28.6501, 19.2570, 7.0578)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5340 #40B8CB
analogous
#CB4073 #CB5340 #CB9840
triadic
#CB5340 #40CB53 #5340CB
tetradic
#CB5340 #73CB40 #40B8CB #9840CB
square
#CB5340 #73CB40 #40B8CB #9840CB
split-complementary
#CB5340 #40CB98 #4073CB
monochromatic
#722A1F #A23C2C #CB5340 #D87E70 #E5AAA0

Accessibility & contrast

On white

4.33
#CB5340 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CB5340 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5340
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5340#FFFFFF#000000##000000
##CB53401.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#73693E
Deuteranopia (green-blind)
#91833D
Tritanopia (blue-blind)
#DE394F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb5340;
/* rgb */ color: rgb(203, 83, 64);
/* oklch */ color: oklch(59.5% 0.157 31.2);
Tailwind
colors: {
  custom: {
    50: '#e28875',
    500: '#cb5340',
    950: '#000000',
  },
}
SCSS
$custom: #cb5340;
$custom-light: #e28875;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5340",
  "rgb": {
    "r": 203,
    "g": 83,
    "b": 64
  },
  "hsl": {
    "h": 8.201,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59517,
    "c": 0.15678,
    "h": 31.2
  },
  "luminance": 0.19253
}

Semantic roles & 50–950 ramp

primary
#CB5340
secondary
#95C9D2
accent
#CCE047
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #CB5340

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

Preview Lab → · Contrast checker → · Palette generator →

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