#CF3031#CF3031

#CF3031 is a mid, vivid red. Relative luminance 0.156; OKLCH L 56.2% C 0.195 H 25.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CF3031
RGBrgb(207, 48, 49)
HSLhsl(360, 62%, 50%)
HSVhsv(360, 77%, 81%)
CMYKcmyk(0%, 76.8%, 76.3%, 18.8%)
CIE-LABlab(46.45, 60.89, 38.64)
CIE-LCHlch(46.45, 72.12, 32.40°)
OKLaboklab(56.19% 0.1758 0.0855)
OKLCHoklch(56.19% 0.195 25.9)
XYZxyz(27.3467, 15.6054, 4.4774)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3031 #30CFCE
analogous
#CF3080 #CF3031 #CF7F30
triadic
#CF3031 #31CF30 #3031CF
tetradic
#CF3031 #80CF30 #30CFCE #7F30CF
square
#CF3031 #80CF30 #30CFCE #7F30CF
split-complementary
#CF3031 #30CF7F #3080CF
monochromatic
#6C1919 #9D2425 #CF3031 #DB6262 #E69394

Accessibility & contrast

On white

5.10
#CF3031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#CF3031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3031
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3031#FFFFFF#000000##FFFFFF
##CF30311.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61582F
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#E40033
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cf3031;
/* rgb */ color: rgb(207, 48, 49);
/* oklch */ color: oklch(56.2% 0.195 25.9);
Tailwind
colors: {
  custom: {
    50: '#e7766a',
    500: '#cf3031',
    950: '#000000',
  },
}
SCSS
$custom: #cf3031;
$custom-light: #e7766a;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3031",
  "rgb": {
    "r": 207,
    "g": 48,
    "b": 49
  },
  "hsl": {
    "h": 359.623,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.56191,
    "c": 0.19543,
    "h": 25.9
  },
  "luminance": 0.15601
}

Semantic roles & 50–950 ramp

primary
#CF3031
secondary
#8AD1D1
accent
#E5E442
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A

Preview Lab

Preview with #CF3031

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

Preview Lab → · Contrast checker → · Palette generator →

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