#C02F2A#C02F2A

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

Color values

HEX#C02F2A
RGBrgb(192, 47, 42)
HSLhsl(2, 64%, 46%)
HSVhsv(2, 78%, 75%)
CMYKcmyk(0%, 75.5%, 78.1%, 24.7%)
CIE-LABlab(43.38, 56.44, 38.43)
CIE-LCHlch(43.38, 68.28, 34.25°)
OKLaboklab(53.36% 0.162 0.0842)
OKLCHoklch(53.36% 0.183 27.4)
XYZxyz(23.1754, 13.4103, 3.5582)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F2A #2ABBC0
analogous
#C02A70 #C02F2A #C07A2A
triadic
#C02F2A #2AC02F #2F2AC0
tetradic
#C02F2A #70C02A #2ABBC0 #7A2AC0
square
#C02F2A #70C02A #2ABBC0 #7A2AC0
split-complementary
#C02F2A #2AC07A #2A70C0
monochromatic
#5C1614 #8E231F #C02F2A #D8534F #E38481

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02F2A#FFFFFF#000000##FFFFFF
##C02F2A1.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)
#5B5228
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#D40030
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c02f2a;
/* rgb */ color: rgb(192, 47, 42);
/* oklch */ color: oklch(53.4% 0.183 27.4);
Tailwind
colors: {
  custom: {
    50: '#dc7364',
    500: '#c02f2a',
    950: '#000000',
  },
}
SCSS
$custom: #c02f2a;
$custom-light: #dc7364;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f2a",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 42
  },
  "hsl": {
    "h": 2,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53361,
    "c": 0.18258,
    "h": 27.4
  },
  "luminance": 0.13407
}

Semantic roles & 50–950 ramp

primary
#C02F2A
secondary
#7AC9CC
accent
#E2E741
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170905
muted
#857B7A

Preview Lab

Preview with #C02F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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