#CB5158#CB5158

#CB5158 is a mid, vivid red. Relative luminance 0.193; OKLCH L 59.7% C 0.155 H 19.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CB5158
RGBrgb(203, 81, 88)
HSLhsl(357, 54%, 56%)
HSVhsv(357, 60%, 80%)
CMYKcmyk(0%, 60.1%, 56.7%, 20.4%)
CIE-LABlab(51.02, 49.00, 21.27)
CIE-LCHlch(51.02, 53.42, 23.47°)
OKLaboklab(59.67% 0.1462 0.0524)
OKLCHoklch(59.67% 0.155 19.7)
XYZxyz(29.3350, 19.2897, 11.4091)
Luminance0.1929 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5158 #51CBC4
analogous
#CB5195 #CB5158 #CB8751
triadic
#CB5158 #58CB51 #5158CB
tetradic
#CB5158 #95CB51 #51CBC4 #8751CB
square
#CB5158 #95CB51 #51CBC4 #8751CB
split-complementary
#CB5158 #51CB87 #5195CB
monochromatic
#7C252A #AC333A #CB5158 #D98085 #E7AFB2

Accessibility & contrast

On white

4.32
#CB5158 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CB5158 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5158
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5158#FFFFFF#000000##000000
##CB51581.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F6A57
Deuteranopia (green-blind)
#8D8355
Tritanopia (blue-blind)
#DD3B54
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb5158;
/* rgb */ color: rgb(203, 81, 88);
/* oklch */ color: oklch(59.7% 0.155 19.7);
Tailwind
colors: {
  custom: {
    50: '#e18787',
    500: '#cb5158',
    950: '#000000',
  },
}
SCSS
$custom: #cb5158;
$custom-light: #e18787;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5158",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 88
  },
  "hsl": {
    "h": 356.557,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59671,
    "c": 0.15526,
    "h": 19.7
  },
  "luminance": 0.19286
}

Semantic roles & 50–950 ramp

primary
#CB5158
secondary
#A3D5D2
accent
#DDD54A
background
#FEF8F8
surface
#FDF0EF
border
#D5CBCA
text
#160C0B
muted
#847D7C

Preview Lab

Preview with #CB5158

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

Preview Lab → · Contrast checker → · Palette generator →

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