#C02F42#C02F42

#C02F42 is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.7% C 0.180 H 18.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#C02F42
RGBrgb(192, 47, 66)
HSLhsl(352, 61%, 47%)
HSVhsv(352, 76%, 75%)
CMYKcmyk(0%, 75.5%, 65.6%, 24.7%)
CIE-LABlab(43.71, 57.53, 24.64)
CIE-LCHlch(43.71, 62.58, 23.18°)
OKLaboklab(53.71% 0.1706 0.0585)
OKLCHoklch(53.71% 0.18 18.9)
XYZxyz(23.7407, 13.6364, 6.5352)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F42 #2FC0AD
analogous
#C02F8B #C02F42 #C0652F
triadic
#C02F42 #42C02F #2F42C0
tetradic
#C02F42 #8BC02F #2FC0AD #652FC0
square
#C02F42 #8BC02F #2FC0AD #652FC0
split-complementary
#C02F42 #2FC065 #2F8BC0
monochromatic
#5E1720 #8F2331 #C02F42 #D65667 #E28893

Accessibility & contrast

On white

5.64
#C02F42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#C02F42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02F42
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F42#FFFFFF#000000##FFFFFF
##C02F421.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595442
Deuteranopia (green-blind)
#7D723E
Tritanopia (blue-blind)
#D30037
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c02f42;
/* rgb */ color: rgb(192, 47, 66);
/* oklch */ color: oklch(53.7% 0.180 18.9);
Tailwind
colors: {
  custom: {
    50: '#db7476',
    500: '#c02f42',
    950: '#000000',
  },
}
SCSS
$custom: #c02f42;
$custom-light: #db7476;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f42",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 66
  },
  "hsl": {
    "h": 352.138,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53714,
    "c": 0.18039,
    "h": 18.9
  },
  "luminance": 0.13633
}

Semantic roles & 50–950 ramp

primary
#C02F42
secondary
#7FCBC1
accent
#E4CF44
background
#FEF7F7
surface
#FDEDED
border
#D5C8C8
text
#160908
muted
#847B7B

Preview Lab

Preview with #C02F42

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

Preview Lab → · Contrast checker → · Palette generator →

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