#CB3838#CB3838

#CB3838 is a mid, vivid red. Relative luminance 0.158; OKLCH L 56.3% C 0.184 H 25.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CB3838
RGBrgb(203, 56, 56)
HSLhsl(0, 59%, 51%)
HSVhsv(0, 72%, 80%)
CMYKcmyk(0%, 72.4%, 72.4%, 20.4%)
CIE-LABlab(46.73, 57.32, 34.75)
CIE-LCHlch(46.73, 67.03, 31.22°)
OKLaboklab(56.29% 0.1664 0.0789)
OKLCHoklch(56.29% 0.184 25.4)
XYZxyz(26.7596, 15.8144, 5.3841)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3838 #38CBCB
analogous
#CB3881 #CB3838 #CB8138
triadic
#CB3838 #38CB38 #3838CB
tetradic
#CB3838 #81CB38 #38CBCB #8138CB
square
#CB3838 #81CB38 #38CBCB #8138CB
split-complementary
#CB3838 #38CB81 #3881CB
monochromatic
#6C1C1C #9D2929 #CB3838 #D86969 #E49999

Accessibility & contrast

On white

5.05
#CB3838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#CB3838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3838
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3838#FFFFFF#000000##FFFFFF
##CB38381.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A36
Deuteranopia (green-blind)
#887A33
Tritanopia (blue-blind)
#DF003A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cb3838;
/* rgb */ color: rgb(203, 56, 56);
/* oklch */ color: oklch(56.3% 0.184 25.4);
Tailwind
colors: {
  custom: {
    50: '#e3796f',
    500: '#cb3838',
    950: '#000000',
  },
}
SCSS
$custom: #cb3838;
$custom-light: #e3796f;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3838",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 56
  },
  "hsl": {
    "h": 0,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56289,
    "c": 0.18416,
    "h": 25.4
  },
  "luminance": 0.1581
}

Semantic roles & 50–950 ramp

primary
#CB3838
secondary
#8FD0D0
accent
#E2E246
background
#FFF7F6
surface
#FEEEEC
border
#D6C9C7
text
#170A07
muted
#857C7A

Preview Lab

Preview with #CB3838

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

Preview Lab → · Contrast checker → · Palette generator →

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