#C02F40#C02F40

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

Color values

HEX#C02F40
RGBrgb(192, 47, 64)
HSLhsl(353, 61%, 47%)
HSVhsv(353, 76%, 75%)
CMYKcmyk(0%, 75.5%, 66.7%, 24.7%)
CIE-LABlab(43.67, 57.42, 25.82)
CIE-LCHlch(43.67, 62.96, 24.21°)
OKLaboklab(53.68% 0.1699 0.061)
OKLCHoklch(53.68% 0.18 19.7)
XYZxyz(23.6827, 13.6132, 6.2301)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F40 #2FC0AF
analogous
#C02F88 #C02F40 #C0672F
triadic
#C02F40 #40C02F #2F40C0
tetradic
#C02F40 #88C02F #2FC0AF #672FC0
square
#C02F40 #88C02F #2FC0AF #672FC0
split-complementary
#C02F40 #2FC067 #2F88C0
monochromatic
#5E171F #8F2330 #C02F40 #D65665 #E28892

Accessibility & contrast

On white

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

On black

3.72
#C02F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C02F40#FFFFFF#000000##FFFFFF
##C02F401.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c02f40;
/* rgb */ color: rgb(192, 47, 64);
/* oklch */ color: oklch(53.7% 0.180 19.7);
Tailwind
colors: {
  custom: {
    50: '#db7474',
    500: '#c02f40',
    950: '#000000',
  },
}
SCSS
$custom: #c02f40;
$custom-light: #db7474;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f40",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 352.966,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53678,
    "c": 0.18046,
    "h": 19.7
  },
  "luminance": 0.1361
}

Semantic roles & 50–950 ramp

primary
#C02F40
secondary
#7FCBC3
accent
#E4D144
background
#FEF7F7
surface
#FDEDED
border
#D5C8C8
text
#160908
muted
#847B7B

Preview Lab

Preview with #C02F40

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

Preview Lab → · Contrast checker → · Palette generator →

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