#CF2E2F#CF2E2F

#CF2E2F is a mid, vivid red. Relative luminance 0.154; OKLCH L 56.0% C 0.197 H 26.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CF2E2F
RGBrgb(207, 46, 47)
HSLhsl(360, 64%, 50%)
HSVhsv(360, 78%, 81%)
CMYKcmyk(0%, 77.8%, 77.3%, 18.8%)
CIE-LABlab(46.22, 61.42, 39.52)
CIE-LCHlch(46.22, 73.04, 32.75°)
OKLaboklab(56.01% 0.177 0.0868)
OKLCHoklch(56.01% 0.197 26.1)
XYZxyz(27.2255, 15.4290, 4.2333)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2E2F #2ECFCE
analogous
#CF2E80 #CF2E2F #CF7D2E
triadic
#CF2E2F #2FCF2E #2E2FCF
tetradic
#CF2E2F #80CF2E #2ECFCE #7D2ECF
square
#CF2E2F #80CF2E #2ECFCE #7D2ECF
split-complementary
#CF2E2F #2ECF7D #2E80CF
monochromatic
#6B1818 #9D2324 #CF2E2F #DB5F60 #E79191

Accessibility & contrast

On white

5.14
#CF2E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#CF2E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2E2F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2E2F#FFFFFF#000000##FFFFFF
##CF2E2F1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf2e2f;
/* rgb */ color: rgb(207, 46, 47);
/* oklch */ color: oklch(56.0% 0.197 26.1);
Tailwind
colors: {
  custom: {
    50: '#e77568',
    500: '#cf2e2f',
    950: '#000000',
  },
}
SCSS
$custom: #cf2e2f;
$custom-light: #e77568;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2e2f",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 47
  },
  "hsl": {
    "h": 359.627,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56009,
    "c": 0.19714,
    "h": 26.1
  },
  "luminance": 0.15425
}

Semantic roles & 50–950 ramp

primary
#CF2E2F
secondary
#88D1D1
accent
#E7E641
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A

Preview Lab

Preview with #CF2E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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