#C02F45#C02F45

#C02F45 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.8% C 0.180 H 17.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#C02F45
RGBrgb(192, 47, 69)
HSLhsl(351, 61%, 47%)
HSVhsv(351, 76%, 75%)
CMYKcmyk(0%, 75.5%, 64.1%, 24.7%)
CIE-LABlab(43.76, 57.70, 22.86)
CIE-LCHlch(43.76, 62.07, 21.61°)
OKLaboklab(53.77% 0.1718 0.0548)
OKLCHoklch(53.77% 0.18 17.7)
XYZxyz(23.8315, 13.6727, 7.0133)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F45 #2FC0AA
analogous
#C02F8D #C02F45 #C0622F
triadic
#C02F45 #45C02F #2F45C0
tetradic
#C02F45 #8DC02F #2FC0AA #622FC0
square
#C02F45 #8DC02F #2FC0AA #622FC0
split-complementary
#C02F45 #2FC062 #2F8DC0
monochromatic
#5E1722 #8F2333 #C02F45 #D6566A #E28895

Accessibility & contrast

On white

5.62
#C02F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02F45
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F45#FFFFFF#000000##FFFFFF
##C02F451.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585445
Deuteranopia (green-blind)
#7D7241
Tritanopia (blue-blind)
#D30039
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c02f45;
/* rgb */ color: rgb(192, 47, 69);
/* oklch */ color: oklch(53.8% 0.180 17.7);
Tailwind
colors: {
  custom: {
    50: '#db7478',
    500: '#c02f45',
    950: '#000000',
  },
}
SCSS
$custom: #c02f45;
$custom-light: #db7478;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f45",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 69
  },
  "hsl": {
    "h": 350.897,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5377,
    "c": 0.18033,
    "h": 17.7
  },
  "luminance": 0.13669
}

Semantic roles & 50–950 ramp

primary
#C02F45
secondary
#7FCBC0
accent
#E4CC44
background
#FEF7F7
surface
#FDEDED
border
#D5C8C8
text
#160909
muted
#847B7B

Preview Lab

Preview with #C02F45

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

Preview Lab → · Contrast checker → · Palette generator →

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