#C02F2C#C02F2C

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

Color values

HEX#C02F2C
RGBrgb(192, 47, 44)
HSLhsl(1, 63%, 46%)
HSVhsv(1, 77%, 75%)
CMYKcmyk(0%, 75.5%, 77.1%, 24.7%)
CIE-LABlab(43.40, 56.51, 37.33)
CIE-LCHlch(43.40, 67.73, 33.45°)
OKLaboklab(53.38% 0.1627 0.0823)
OKLCHoklch(53.38% 0.182 26.8)
XYZxyz(23.2121, 13.4250, 3.7515)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F2C #2CBDC0
analogous
#C02C73 #C02F2C #C0792C
triadic
#C02F2C #2CC02F #2F2CC0
tetradic
#C02F2C #73C02C #2CBDC0 #792CC0
square
#C02F2C #73C02C #2CBDC0 #792CC0
split-complementary
#C02F2C #2CC079 #2C73C0
monochromatic
#5C1715 #8E2321 #C02F2C #D75552 #E38684

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02F2C#FFFFFF#000000##FFFFFF
##C02F2C1.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)
#5B522A
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#D40030
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c02f2c;
/* rgb */ color: rgb(192, 47, 44);
/* oklch */ color: oklch(53.4% 0.182 26.8);
Tailwind
colors: {
  custom: {
    50: '#dc7366',
    500: '#c02f2c',
    950: '#000000',
  },
}
SCSS
$custom: #c02f2c;
$custom-light: #dc7366;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f2c",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 44
  },
  "hsl": {
    "h": 1.216,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53384,
    "c": 0.18232,
    "h": 26.8
  },
  "luminance": 0.13421
}

Semantic roles & 50–950 ramp

primary
#C02F2C
secondary
#7CCACC
accent
#E2E642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C02F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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