#CB4042#CB4042

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

Color values

HEX#CB4042
RGBrgb(203, 64, 66)
HSLhsl(359, 57%, 52%)
HSVhsv(359, 68%, 80%)
CMYKcmyk(0%, 68.5%, 67.5%, 20.4%)
CIE-LABlab(47.96, 54.82, 30.37)
CIE-LCHlch(47.96, 62.67, 28.99°)
OKLaboklab(57.25% 0.1606 0.071)
OKLCHoklch(57.25% 0.176 23.8)
XYZxyz(27.4483, 16.7606, 6.9430)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4042 #40CBC9
analogous
#CB4087 #CB4042 #CB8440
triadic
#CB4042 #42CB40 #4042CB
tetradic
#CB4042 #87CB40 #40CBC9 #8440CB
square
#CB4042 #87CB40 #40CBC9 #8440CB
split-complementary
#CB4042 #40CB84 #4087CB
monochromatic
#721F20 #A22C2E #CB4042 #D87072 #E5A0A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB4042#FFFFFF#000000##FFFFFF
##CB40421.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)
#665F41
Deuteranopia (green-blind)
#897D3E
Tritanopia (blue-blind)
#DF1842
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cb4042;
/* rgb */ color: rgb(203, 64, 66);
/* oklch */ color: oklch(57.3% 0.176 23.8);
Tailwind
colors: {
  custom: {
    50: '#e37d76',
    500: '#cb4042',
    950: '#000000',
  },
}
SCSS
$custom: #cb4042;
$custom-light: #e37d76;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4042",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 66
  },
  "hsl": {
    "h": 359.137,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5725,
    "c": 0.17556,
    "h": 23.8
  },
  "luminance": 0.16757
}

Semantic roles & 50–950 ramp

primary
#CB4042
secondary
#95D2D1
accent
#E0DE47
background
#FFF8F7
surface
#FEEFED
border
#D6CAC8
text
#170A08
muted
#857C7B

Preview Lab

Preview with #CB4042

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

Preview Lab → · Contrast checker → · Palette generator →

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