#CF302F#CF302F

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

Color values

HEX#CF302F
RGBrgb(207, 48, 47)
HSLhsl(0, 63%, 50%)
HSVhsv(0, 77%, 81%)
CMYKcmyk(0%, 76.8%, 77.3%, 18.8%)
CIE-LABlab(46.43, 60.82, 39.74)
CIE-LCHlch(46.43, 72.66, 33.16°)
OKLaboklab(56.17% 0.1751 0.0873)
OKLCHoklch(56.17% 0.196 26.5)
XYZxyz(27.3054, 15.5889, 4.2600)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF302F #2FCECF
analogous
#CF2F7E #CF302F #CF802F
triadic
#CF302F #2FCF30 #302FCF
tetradic
#CF302F #7ECF2F #2FCECF #802FCF
square
#CF302F #7ECF2F #2FCECF #802FCF
split-complementary
#CF302F #2FCF80 #2F7ECF
monochromatic
#6B1918 #9D2424 #CF302F #DB6160 #E69392

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF302F#FFFFFF#000000##FFFFFF
##CF302F1.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)
#61582D
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#E40032
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cf302f;
/* rgb */ color: rgb(207, 48, 47);
/* oklch */ color: oklch(56.2% 0.196 26.5);
Tailwind
colors: {
  custom: {
    50: '#e77668',
    500: '#cf302f',
    950: '#000000',
  },
}
SCSS
$custom: #cf302f;
$custom-light: #e77668;
$custom-dark: #000000;
JSON
{
  "hex": "#cf302f",
  "rgb": {
    "r": 207,
    "g": 48,
    "b": 47
  },
  "hsl": {
    "h": 0.375,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56168,
    "c": 0.19567,
    "h": 26.5
  },
  "luminance": 0.15585
}

Semantic roles & 50–950 ramp

primary
#CF302F
secondary
#89D1D1
accent
#E5E642
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A

Preview Lab

Preview with #CF302F

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

Preview Lab → · Contrast checker → · Palette generator →

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