#CB504B#CB504B

#CB504B is a mid, vivid red. Relative luminance 0.189; OKLCH L 59.3% C 0.158 H 25.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CB504B
RGBrgb(203, 80, 75)
HSLhsl(2, 55%, 55%)
HSVhsv(2, 63%, 80%)
CMYKcmyk(0%, 60.6%, 63.1%, 20.4%)
CIE-LABlab(50.62, 48.54, 28.41)
CIE-LCHlch(50.62, 56.24, 30.33°)
OKLaboklab(59.29% 0.1425 0.0677)
OKLCHoklch(59.29% 0.158 25.4)
XYZxyz(28.7700, 18.9456, 8.7971)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB504B #4BC6CB
analogous
#CB4B86 #CB504B #CB904B
triadic
#CB504B #4BCB50 #504BCB
tetradic
#CB504B #86CB4B #4BC6CB #904BCB
square
#CB504B #86CB4B #4BC6CB #904BCB
split-complementary
#CB504B #4BCB90 #4B86CB
monochromatic
#792623 #A83531 #CB504B #D97E7A #E6ACAA

Accessibility & contrast

On white

4.39
#CB504B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CB504B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB504B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB504B#FFFFFF#000000##000000
##CB504B1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#70684A
Deuteranopia (green-blind)
#8E8248
Tritanopia (blue-blind)
#DE3750
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb504b;
/* rgb */ color: rgb(203, 80, 75);
/* oklch */ color: oklch(59.3% 0.158 25.4);
Tailwind
colors: {
  custom: {
    50: '#e1867d',
    500: '#cb504b',
    950: '#000000',
  },
}
SCSS
$custom: #cb504b;
$custom-light: #e1867d;
$custom-dark: #000000;
JSON
{
  "hex": "#cb504b",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 75
  },
  "hsl": {
    "h": 2.344,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59295,
    "c": 0.15779,
    "h": 25.4
  },
  "luminance": 0.18942
}

Semantic roles & 50–950 ramp

primary
#CB504B
secondary
#9ED2D4
accent
#D9DF49
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#170B09
muted
#857C7B

Preview Lab

Preview with #CB504B

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

Preview Lab → · Contrast checker → · Palette generator →

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