#CF3131#CF3131

#CF3131 is a mid, vivid red. Relative luminance 0.157; OKLCH L 56.3% C 0.195 H 26.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CF3131
RGBrgb(207, 49, 49)
HSLhsl(0, 62%, 50%)
HSVhsv(0, 76%, 81%)
CMYKcmyk(0%, 76.3%, 76.3%, 18.8%)
CIE-LABlab(46.56, 60.58, 38.76)
CIE-LCHlch(46.56, 71.92, 32.61°)
OKLaboklab(56.27% 0.1748 0.0857)
OKLCHoklch(56.27% 0.195 26.1)
XYZxyz(27.3881, 15.6881, 4.4911)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3131 #31CFCF
analogous
#CF3180 #CF3131 #CF8031
triadic
#CF3131 #31CF31 #3131CF
tetradic
#CF3131 #80CF31 #31CFCF #8031CF
square
#CF3131 #80CF31 #31CFCF #8031CF
split-complementary
#CF3131 #31CF80 #3180CF
monochromatic
#6C1919 #9E2525 #CF3131 #DB6363 #E69494

Accessibility & contrast

On white

5.08
#CF3131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#CF3131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3131
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3131#FFFFFF#000000##FFFFFF
##CF31311.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62582F
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#E40033
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cf3131;
/* rgb */ color: rgb(207, 49, 49);
/* oklch */ color: oklch(56.3% 0.195 26.1);
Tailwind
colors: {
  custom: {
    50: '#e7766a',
    500: '#cf3131',
    950: '#000000',
  },
}
SCSS
$custom: #cf3131;
$custom-light: #e7766a;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3131",
  "rgb": {
    "r": 207,
    "g": 49,
    "b": 49
  },
  "hsl": {
    "h": 0,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56273,
    "c": 0.19467,
    "h": 26.1
  },
  "luminance": 0.15684
}

Semantic roles & 50–950 ramp

primary
#CF3131
secondary
#8BD1D1
accent
#E5E543
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180A06
muted
#867C7A

Preview Lab

Preview with #CF3131

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

Preview Lab → · Contrast checker → · Palette generator →

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