#C02F2B#C02F2B

#C02F2B is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.4% C 0.182 H 27.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#C02F2B
RGBrgb(192, 47, 43)
HSLhsl(2, 63%, 46%)
HSVhsv(2, 78%, 75%)
CMYKcmyk(0%, 75.5%, 77.6%, 24.7%)
CIE-LABlab(43.39, 56.48, 37.88)
CIE-LCHlch(43.39, 68.00, 33.85°)
OKLaboklab(53.37% 0.1624 0.0833)
OKLCHoklch(53.37% 0.182 27.1)
XYZxyz(23.1935, 13.4176, 3.6536)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F2B #2BBCC0
analogous
#C02B71 #C02F2B #C0792B
triadic
#C02F2B #2BC02F #2F2BC0
tetradic
#C02F2B #71C02B #2BBCC0 #792BC0
square
#C02F2B #71C02B #2BBCC0 #792BC0
split-complementary
#C02F2B #2BC079 #2B71C0
monochromatic
#5C1715 #8E2320 #C02F2B #D85450 #E38582

Accessibility & contrast

On white

5.70
#C02F2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#C02F2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02F2B
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F2B#FFFFFF#000000##FFFFFF
##C02F2B1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5229
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#D40030
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c02f2b;
/* rgb */ color: rgb(192, 47, 43);
/* oklch */ color: oklch(53.4% 0.182 27.1);
Tailwind
colors: {
  custom: {
    50: '#dc7365',
    500: '#c02f2b',
    950: '#000000',
  },
}
SCSS
$custom: #c02f2b;
$custom-light: #dc7365;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f2b",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 43
  },
  "hsl": {
    "h": 1.611,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53372,
    "c": 0.18245,
    "h": 27.1
  },
  "luminance": 0.13414
}

Semantic roles & 50–950 ramp

primary
#C02F2B
secondary
#7BCACC
accent
#E2E641
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170905
muted
#857B7A

Preview Lab

Preview with #C02F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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