#CB4054#CB4054

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

Color values

HEX#CB4054
RGBrgb(203, 64, 84)
HSLhsl(351, 57%, 52%)
HSVhsv(351, 68%, 80%)
CMYKcmyk(0%, 68.5%, 58.6%, 20.4%)
CIE-LABlab(48.27, 55.93, 20.00)
CIE-LCHlch(48.27, 59.40, 19.68°)
OKLaboklab(57.58% 0.1675 0.0492)
OKLCHoklch(57.58% 0.175 16.4)
XYZxyz(28.0649, 17.0073, 10.1907)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4054 #40CBB7
analogous
#CB409A #CB4054 #CB7240
triadic
#CB4054 #54CB40 #4054CB
tetradic
#CB4054 #9ACB40 #40CBB7 #7240CB
square
#CB4054 #9ACB40 #40CBB7 #7240CB
split-complementary
#CB4054 #40CB72 #409ACB
monochromatic
#721F2B #A22C3D #CB4054 #D8707F #E5A0AA

Accessibility & contrast

On white

4.77
#CB4054 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#CB4054 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB4054
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4054#FFFFFF#000000##FFFFFF
##CB40541.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646054
Deuteranopia (green-blind)
#877D50
Tritanopia (blue-blind)
#DE1F48
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cb4054;
/* rgb */ color: rgb(203, 64, 84);
/* oklch */ color: oklch(57.6% 0.175 16.4);
Tailwind
colors: {
  custom: {
    50: '#e27e84',
    500: '#cb4054',
    950: '#000000',
  },
}
SCSS
$custom: #cb4054;
$custom-light: #e27e84;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4054",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 84
  },
  "hsl": {
    "h": 351.367,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57584,
    "c": 0.17457,
    "h": 16.4
  },
  "luminance": 0.17003
}

Semantic roles & 50–950 ramp

primary
#CB4054
secondary
#95D2C9
accent
#E0CA47
background
#FEF8F8
surface
#FDEFEF
border
#D5CACA
text
#170A0A
muted
#857C7C

Preview Lab

Preview with #CB4054

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

Preview Lab → · Contrast checker → · Palette generator →

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