#CB5252#CB5252

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

Color values

HEX#CB5252
RGBrgb(203, 82, 82)
HSLhsl(0, 54%, 56%)
HSVhsv(0, 60%, 80%)
CMYKcmyk(0%, 59.6%, 59.6%, 20.4%)
CIE-LABlab(51.09, 48.10, 24.90)
CIE-LCHlch(51.09, 54.16, 27.37°)
OKLaboklab(59.68% 0.1424 0.0604)
OKLCHoklch(59.68% 0.155 23)
XYZxyz(29.1715, 19.3440, 10.1786)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5252 #52CBCB
analogous
#CB528E #CB5252 #CB8E52
triadic
#CB5252 #52CB52 #5252CB
tetradic
#CB5252 #8ECB52 #52CBCB #8E52CB
square
#CB5252 #8ECB52 #52CBCB #8E52CB
split-complementary
#CB5252 #52CB8E #528ECB
monochromatic
#7D2626 #AC3434 #CB5252 #D98181 #E7B0B0

Accessibility & contrast

On white

4.31
#CB5252 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CB5252 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5252
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5252#FFFFFF#000000##000000
##CB52521.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#706A51
Deuteranopia (green-blind)
#8F834F
Tritanopia (blue-blind)
#DE3B53
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb5252;
/* rgb */ color: rgb(203, 82, 82);
/* oklch */ color: oklch(59.7% 0.155 23.0);
Tailwind
colors: {
  custom: {
    50: '#e18782',
    500: '#cb5252',
    950: '#000000',
  },
}
SCSS
$custom: #cb5252;
$custom-light: #e18782;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5252",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 82
  },
  "hsl": {
    "h": 0,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59683,
    "c": 0.15463,
    "h": 23
  },
  "luminance": 0.1934
}

Semantic roles & 50–950 ramp

primary
#CB5252
secondary
#A3D5D5
accent
#DDDD4B
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#160C0A
muted
#847D7C

Preview Lab

Preview with #CB5252

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

Preview Lab → · Contrast checker → · Palette generator →

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