#CB5157#CB5157

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

Color values

HEX#CB5157
RGBrgb(203, 81, 87)
HSLhsl(357, 54%, 56%)
HSVhsv(357, 60%, 80%)
CMYKcmyk(0%, 60.1%, 57.1%, 20.4%)
CIE-LABlab(51.01, 48.92, 21.84)
CIE-LCHlch(51.01, 53.58, 24.05°)
OKLaboklab(59.65% 0.1458 0.0536)
OKLCHoklch(59.65% 0.155 20.2)
XYZxyz(29.2939, 19.2732, 11.1925)
Luminance0.1927 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5157 #51CBC5
analogous
#CB5194 #CB5157 #CB8851
triadic
#CB5157 #57CB51 #5157CB
tetradic
#CB5157 #94CB51 #51CBC5 #8851CB
square
#CB5157 #94CB51 #51CBC5 #8851CB
split-complementary
#CB5157 #51CB88 #5194CB
monochromatic
#7C2529 #AC3339 #CB5157 #D98084 #E7AFB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5157#FFFFFF#000000##000000
##CB51571.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)
#6F6956
Deuteranopia (green-blind)
#8E8354
Tritanopia (blue-blind)
#DD3B54
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb5157;
/* rgb */ color: rgb(203, 81, 87);
/* oklch */ color: oklch(59.7% 0.155 20.2);
Tailwind
colors: {
  custom: {
    50: '#e18786',
    500: '#cb5157',
    950: '#000000',
  },
}
SCSS
$custom: #cb5157;
$custom-light: #e18786;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5157",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 87
  },
  "hsl": {
    "h": 357.049,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59651,
    "c": 0.15532,
    "h": 20.2
  },
  "luminance": 0.19269
}

Semantic roles & 50–950 ramp

primary
#CB5157
secondary
#A3D5D3
accent
#DDD64A
background
#FEF8F8
surface
#FDF0EF
border
#D5CBCA
text
#160C0B
muted
#847D7C

Preview Lab

Preview with #CB5157

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

Preview Lab → · Contrast checker → · Palette generator →

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