#C0313F#C0313F

#C0313F is a mid, vivid red. Relative luminance 0.138; OKLCH L 53.8% C 0.179 H 20.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#C0313F
RGBrgb(192, 49, 63)
HSLhsl(354, 59%, 47%)
HSVhsv(354, 74%, 75%)
CMYKcmyk(0%, 74.5%, 67.2%, 24.7%)
CIE-LABlab(43.89, 56.70, 26.70)
CIE-LCHlch(43.89, 62.67, 25.22°)
OKLaboklab(53.84% 0.1674 0.0628)
OKLCHoklch(53.84% 0.179 20.6)
XYZxyz(23.7363, 13.7655, 6.1088)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0313F #31C0B2
analogous
#C03186 #C0313F #C06B31
triadic
#C0313F #3FC031 #313FC0
tetradic
#C0313F #86C031 #31C0B2 #6B31C0
square
#C0313F #86C031 #31C0B2 #6B31C0
split-complementary
#C0313F #31C06B #3186C0
monochromatic
#5E181F #8F252F #C0313F #D55966 #E18A93

Accessibility & contrast

On white

5.60
#C0313F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#C0313F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0313F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0313F#FFFFFF#000000##FFFFFF
##C0313F1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A543E
Deuteranopia (green-blind)
#7E733B
Tritanopia (blue-blind)
#D30037
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c0313f;
/* rgb */ color: rgb(192, 49, 63);
/* oklch */ color: oklch(53.8% 0.179 20.6);
Tailwind
colors: {
  custom: {
    50: '#db7574',
    500: '#c0313f',
    950: '#000000',
  },
}
SCSS
$custom: #c0313f;
$custom-light: #db7574;
$custom-dark: #000000;
JSON
{
  "hex": "#c0313f",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 354.126,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53837,
    "c": 0.17875,
    "h": 20.6
  },
  "luminance": 0.13762
}

Semantic roles & 50–950 ramp

primary
#C0313F
secondary
#82CBC4
accent
#E3D345
background
#FEF7F7
surface
#FDEDED
border
#D5C8C8
text
#160908
muted
#847B7B

Preview Lab

Preview with #C0313F

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

Preview Lab → · Contrast checker → · Palette generator →

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