#CF2F2F#CF2F2F

#CF2F2F is a mid, vivid red. Relative luminance 0.155; OKLCH L 56.1% C 0.196 H 26.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CF2F2F
RGBrgb(207, 47, 47)
HSLhsl(0, 63%, 50%)
HSVhsv(0, 77%, 81%)
CMYKcmyk(0%, 77.3%, 77.3%, 18.8%)
CIE-LABlab(46.32, 61.13, 39.63)
CIE-LCHlch(46.32, 72.85, 32.96°)
OKLaboklab(56.09% 0.1761 0.0871)
OKLCHoklch(56.09% 0.196 26.3)
XYZxyz(27.2650, 15.5080, 4.2465)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2F2F #2FCFCF
analogous
#CF2F7F #CF2F2F #CF7F2F
triadic
#CF2F2F #2FCF2F #2F2FCF
tetradic
#CF2F2F #7FCF2F #2FCFCF #7F2FCF
square
#CF2F2F #7FCF2F #2FCFCF #7F2FCF
split-complementary
#CF2F2F #2FCF7F #2F7FCF
monochromatic
#6B1818 #9D2424 #CF2F2F #DB6060 #E69292

Accessibility & contrast

On white

5.12
#CF2F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#CF2F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2F2F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2F2F#FFFFFF#000000##FFFFFF
##CF2F2F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61582D
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#E40031
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cf2f2f;
/* rgb */ color: rgb(207, 47, 47);
/* oklch */ color: oklch(56.1% 0.196 26.3);
Tailwind
colors: {
  custom: {
    50: '#e77668',
    500: '#cf2f2f',
    950: '#000000',
  },
}
SCSS
$custom: #cf2f2f;
$custom-light: #e77668;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2f2f",
  "rgb": {
    "r": 207,
    "g": 47,
    "b": 47
  },
  "hsl": {
    "h": 0,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56088,
    "c": 0.1964,
    "h": 26.3
  },
  "luminance": 0.15504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF2F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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