#CB2E38#CB2E38

#CB2E38 is a mid, vivid red. Relative luminance 0.149; OKLCH L 55.4% C 0.192 H 23.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CB2E38
RGBrgb(203, 46, 56)
HSLhsl(356, 63%, 49%)
HSVhsv(356, 77%, 80%)
CMYKcmyk(0%, 77.3%, 72.4%, 20.4%)
CIE-LABlab(45.55, 60.60, 33.38)
CIE-LCHlch(45.55, 69.19, 28.85°)
OKLaboklab(55.41% 0.1768 0.0759)
OKLCHoklch(55.41% 0.192 23.2)
XYZxyz(26.3225, 14.9401, 5.2384)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB2E38 #2ECBC1
analogous
#CB2E87 #CB2E38 #CB732E
triadic
#CB2E38 #38CB2E #2E38CB
tetradic
#CB2E38 #87CB2E #2ECBC1 #732ECB
square
#CB2E38 #87CB2E #2ECBC1 #732ECB
split-complementary
#CB2E38 #2ECB73 #2E87CB
monochromatic
#67171C #99232A #CB2E38 #DA5C64 #E58E94

Accessibility & contrast

On white

5.27
#CB2E38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#CB2E38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB2E38
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB2E38#FFFFFF#000000##FFFFFF
##CB2E381.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5637
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#DF0034
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #cb2e38;
/* rgb */ color: rgb(203, 46, 56);
/* oklch */ color: oklch(55.4% 0.192 23.2);
Tailwind
colors: {
  custom: {
    50: '#e4756f',
    500: '#cb2e38',
    950: '#000000',
  },
}
SCSS
$custom: #cb2e38;
$custom-light: #e4756f;
$custom-dark: #000000;
JSON
{
  "hex": "#cb2e38",
  "rgb": {
    "r": 203,
    "g": 46,
    "b": 56
  },
  "hsl": {
    "h": 356.178,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55412,
    "c": 0.19243,
    "h": 23.2
  },
  "luminance": 0.14936
}

Semantic roles & 50–950 ramp

primary
#CB2E38
secondary
#85D0CB
accent
#E6DC42
background
#FFF7F6
surface
#FFEEEC
border
#D7C9C7
text
#170907
muted
#857B7A

Preview Lab

Preview with #CB2E38

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

Preview Lab → · Contrast checker → · Palette generator →

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