#C02B38#C02B38

#C02B38 is a mid, vivid red. Relative luminance 0.132; OKLCH L 53.2% C 0.184 H 22.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#C02B38
RGBrgb(192, 43, 56)
HSLhsl(355, 63%, 46%)
HSVhsv(355, 78%, 75%)
CMYKcmyk(0%, 77.6%, 70.8%, 24.7%)
CIE-LABlab(43.10, 58.28, 29.96)
CIE-LCHlch(43.10, 65.53, 27.21°)
OKLaboklab(53.21% 0.1709 0.069)
OKLCHoklch(53.21% 0.184 22)
XYZxyz(23.3186, 13.2234, 5.0652)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B38 #2BC0B3
analogous
#C02B82 #C02B38 #C0682B
triadic
#C02B38 #38C02B #2B38C0
tetradic
#C02B38 #82C02B #2BC0B3 #682BC0
square
#C02B38 #82C02B #2BC0B3 #682BC0
split-complementary
#C02B38 #2BC068 #2B82C0
monochromatic
#5C151B #8E2029 #C02B38 #D8505C #E3828B

Accessibility & contrast

On white

5.76
#C02B38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#C02B38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02B38
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B38#FFFFFF#000000##FFFFFF
##C02B381.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585137
Deuteranopia (green-blind)
#7D7133
Tritanopia (blue-blind)
#D30031
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c02b38;
/* rgb */ color: rgb(192, 43, 56);
/* oklch */ color: oklch(53.2% 0.184 22.0);
Tailwind
colors: {
  custom: {
    50: '#dc726e',
    500: '#c02b38',
    950: '#000000',
  },
}
SCSS
$custom: #c02b38;
$custom-light: #dc726e;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b38",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 56
  },
  "hsl": {
    "h": 354.765,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5321,
    "c": 0.18426,
    "h": 22
  },
  "luminance": 0.1322
}

Semantic roles & 50–950 ramp

primary
#C02B38
secondary
#7BCCC5
accent
#E6D841
background
#FEF7F6
surface
#FDEDEC
border
#D5C8C7
text
#170907
muted
#857B7A

Preview Lab

Preview with #C02B38

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

Preview Lab → · Contrast checker → · Palette generator →

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