#CF312E#CF312E

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

Color values

HEX#CF312E
RGBrgb(207, 49, 46)
HSLhsl(1, 64%, 50%)
HSVhsv(1, 78%, 81%)
CMYKcmyk(0%, 76.3%, 77.8%, 18.8%)
CIE-LABlab(46.53, 60.48, 40.40)
CIE-LCHlch(46.53, 72.73, 33.74°)
OKLaboklab(56.24% 0.1738 0.0885)
OKLCHoklch(56.24% 0.195 27)
XYZxyz(27.3269, 15.6636, 4.1688)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF312E #2ECCCF
analogous
#CF2E7C #CF312E #CF822E
triadic
#CF312E #2ECF31 #312ECF
tetradic
#CF312E #7CCF2E #2ECCCF #822ECF
square
#CF312E #7CCF2E #2ECCCF #822ECF
split-complementary
#CF312E #2ECF82 #2E7CCF
monochromatic
#6B1918 #9D2523 #CF312E #DB615F #E79291

Accessibility & contrast

On white

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

On black

4.13
#CF312E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CF312E#FFFFFF#000000##FFFFFF
##CF312E1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62582C
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#E40032
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cf312e;
/* rgb */ color: rgb(207, 49, 46);
/* oklch */ color: oklch(56.2% 0.195 27.0);
Tailwind
colors: {
  custom: {
    50: '#e77668',
    500: '#cf312e',
    950: '#000000',
  },
}
SCSS
$custom: #cf312e;
$custom-light: #e77668;
$custom-dark: #000000;
JSON
{
  "hex": "#cf312e",
  "rgb": {
    "r": 207,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 1.118,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56239,
    "c": 0.19503,
    "h": 27
  },
  "luminance": 0.15659
}

Semantic roles & 50–950 ramp

primary
#CF312E
secondary
#88D0D1
accent
#E4E741
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A

Preview Lab

Preview with #CF312E

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

Preview Lab → · Contrast checker → · Palette generator →

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