#CB4052#CB4052

#CB4052 is a mid, vivid red. Relative luminance 0.170; OKLCH L 57.5% C 0.175 H 17.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CB4052
RGBrgb(203, 64, 82)
HSLhsl(352, 57%, 52%)
HSVhsv(352, 68%, 80%)
CMYKcmyk(0%, 68.5%, 59.6%, 20.4%)
CIE-LABlab(48.23, 55.79, 21.16)
CIE-LCHlch(48.23, 59.67, 20.77°)
OKLaboklab(57.54% 0.1667 0.0517)
OKLCHoklch(57.54% 0.175 17.2)
XYZxyz(27.9877, 16.9764, 9.7840)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4052 #40CBB9
analogous
#CB4098 #CB4052 #CB7340
triadic
#CB4052 #52CB40 #4052CB
tetradic
#CB4052 #98CB40 #40CBB9 #7340CB
square
#CB4052 #98CB40 #40CBB9 #7340CB
split-complementary
#CB4052 #40CB73 #4098CB
monochromatic
#721F2A #A22C3B #CB4052 #D8707E #E5A0A9

Accessibility & contrast

On white

4.78
#CB4052 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#CB4052 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB4052
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4052#FFFFFF#000000##FFFFFF
##CB40521.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646052
Deuteranopia (green-blind)
#887D4E
Tritanopia (blue-blind)
#DE1F48
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cb4052;
/* rgb */ color: rgb(203, 64, 82);
/* oklch */ color: oklch(57.5% 0.175 17.2);
Tailwind
colors: {
  custom: {
    50: '#e27d82',
    500: '#cb4052',
    950: '#000000',
  },
}
SCSS
$custom: #cb4052;
$custom-light: #e27d82;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4052",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 82
  },
  "hsl": {
    "h": 352.23,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57542,
    "c": 0.17457,
    "h": 17.2
  },
  "luminance": 0.16972
}

Semantic roles & 50–950 ramp

primary
#CB4052
secondary
#95D2CA
accent
#E0CD47
background
#FEF8F7
surface
#FDEFEE
border
#D5CAC9
text
#170A0A
muted
#857C7C

Preview Lab

Preview with #CB4052

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

Preview Lab → · Contrast checker → · Palette generator →

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