#CF302E#CF302E

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

Color values

HEX#CF302E
RGBrgb(207, 48, 46)
HSLhsl(1, 64%, 50%)
HSVhsv(1, 78%, 81%)
CMYKcmyk(0%, 76.8%, 77.8%, 18.8%)
CIE-LABlab(46.42, 60.79, 40.29)
CIE-LCHlch(46.42, 72.93, 33.53°)
OKLaboklab(56.16% 0.1748 0.0882)
OKLCHoklch(56.16% 0.196 26.8)
XYZxyz(27.2855, 15.5809, 4.1550)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF302E #2ECDCF
analogous
#CF2E7D #CF302E #CF802E
triadic
#CF302E #2ECF30 #302ECF
tetradic
#CF302E #7DCF2E #2ECDCF #802ECF
square
#CF302E #7DCF2E #2ECDCF #802ECF
split-complementary
#CF302E #2ECF80 #2E7DCF
monochromatic
#6B1918 #9D2423 #CF302E #DB605F #E79291

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF302E#FFFFFF#000000##FFFFFF
##CF302E1.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)
#61582C
Deuteranopia (green-blind)
#897A27
Tritanopia (blue-blind)
#E40032
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cf302e;
/* rgb */ color: rgb(207, 48, 46);
/* oklch */ color: oklch(56.2% 0.196 26.8);
Tailwind
colors: {
  custom: {
    50: '#e77668',
    500: '#cf302e',
    950: '#000000',
  },
}
SCSS
$custom: #cf302e;
$custom-light: #e77668;
$custom-dark: #000000;
JSON
{
  "hex": "#cf302e",
  "rgb": {
    "r": 207,
    "g": 48,
    "b": 46
  },
  "hsl": {
    "h": 0.745,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56157,
    "c": 0.19578,
    "h": 26.8
  },
  "luminance": 0.15577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF302E

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

Preview Lab → · Contrast checker → · Palette generator →

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