#CF2E31#CF2E31

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

Color values

HEX#CF2E31
RGBrgb(207, 46, 49)
HSLhsl(359, 64%, 50%)
HSVhsv(359, 78%, 81%)
CMYKcmyk(0%, 77.8%, 76.3%, 18.8%)
CIE-LABlab(46.24, 61.49, 38.41)
CIE-LCHlch(46.24, 72.51, 31.99°)
OKLaboklab(56.03% 0.1777 0.085)
OKLCHoklch(56.03% 0.197 25.6)
XYZxyz(27.2668, 15.4455, 4.4507)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2E31 #2ECFCC
analogous
#CF2E82 #CF2E31 #CF7C2E
triadic
#CF2E31 #31CF2E #2E31CF
tetradic
#CF2E31 #82CF2E #2ECFCC #7C2ECF
square
#CF2E31 #82CF2E #2ECFCC #7C2ECF
split-complementary
#CF2E31 #2ECF7C #2E82CF
monochromatic
#6B1819 #9D2325 #CF2E31 #DB5F61 #E79192

Accessibility & contrast

On white

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

On black

4.09
#CF2E31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CF2E31#FFFFFF#000000##FFFFFF
##CF2E311.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf2e31;
/* rgb */ color: rgb(207, 46, 49);
/* oklch */ color: oklch(56.0% 0.197 25.6);
Tailwind
colors: {
  custom: {
    50: '#e7756a',
    500: '#cf2e31',
    950: '#000000',
  },
}
SCSS
$custom: #cf2e31;
$custom-light: #e7756a;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2e31",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 49
  },
  "hsl": {
    "h": 358.882,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56032,
    "c": 0.19692,
    "h": 25.6
  },
  "luminance": 0.15441
}

Semantic roles & 50–950 ramp

primary
#CF2E31
secondary
#88D1D0
accent
#E7E441
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A

Preview Lab

Preview with #CF2E31

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

Preview Lab → · Contrast checker → · Palette generator →

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