#C02B4F#C02B4F

#C02B4F is a mid, vivid red. Relative luminance 0.135; OKLCH L 53.6% C 0.184 H 12.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#C02B4F
RGBrgb(192, 43, 79)
HSLhsl(346, 63%, 46%)
HSVhsv(346, 78%, 75%)
CMYKcmyk(0%, 77.6%, 58.9%, 24.7%)
CIE-LABlab(43.51, 59.59, 16.34)
CIE-LCHlch(43.51, 61.79, 15.33°)
OKLaboklab(53.65% 0.1797 0.0405)
OKLCHoklch(53.65% 0.184 12.7)
XYZxyz(24.0158, 13.5023, 8.7372)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B4F #2BC09C
analogous
#C02B99 #C02B4F #C0512B
triadic
#C02B4F #4FC02B #2B4FC0
tetradic
#C02B4F #99C02B #2BC09C #512BC0
square
#C02B4F #99C02B #2BC09C #512BC0
split-complementary
#C02B4F #2BC051 #2B99C0
monochromatic
#5C1526 #8E203A #C02B4F #D85071 #E3829A

Accessibility & contrast

On white

5.68
#C02B4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#C02B4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02B4F
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B4F#FFFFFF#000000##FFFFFF
##C02B4F1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54534F
Deuteranopia (green-blind)
#7B724B
Tritanopia (blue-blind)
#D2003A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c02b4f;
/* rgb */ color: rgb(192, 43, 79);
/* oklch */ color: oklch(53.6% 0.184 12.7);
Tailwind
colors: {
  custom: {
    50: '#da7380',
    500: '#c02b4f',
    950: '#000000',
  },
}
SCSS
$custom: #c02b4f;
$custom-light: #da7380;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b4f",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 79
  },
  "hsl": {
    "h": 345.503,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53649,
    "c": 0.18424,
    "h": 12.7
  },
  "luminance": 0.13499
}

Semantic roles & 50–950 ramp

primary
#C02B4F
secondary
#7BCCB8
accent
#E6BF41
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C02B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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