#CF2D31#CF2D31

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

Color values

HEX#CF2D31
RGBrgb(207, 45, 49)
HSLhsl(359, 64%, 49%)
HSVhsv(359, 78%, 81%)
CMYKcmyk(0%, 78.3%, 76.3%, 18.8%)
CIE-LABlab(46.13, 61.79, 38.30)
CIE-LCHlch(46.13, 72.69, 31.79°)
OKLaboklab(55.96% 0.1786 0.0847)
OKLCHoklch(55.96% 0.198 25.4)
XYZxyz(27.2282, 15.3683, 4.4378)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2D31 #2DCFCB
analogous
#CF2D82 #CF2D31 #CF7A2D
triadic
#CF2D31 #31CF2D #2D31CF
tetradic
#CF2D31 #82CF2D #2DCFCB #7A2DCF
square
#CF2D31 #82CF2D #2DCFCB #7A2DCF
split-complementary
#CF2D31 #2DCF7A #2D82CF
monochromatic
#6A1719 #9D2225 #CF2D31 #DC5D60 #E79092

Accessibility & contrast

On white

5.16
#CF2D31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#CF2D31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2D31
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2D31#FFFFFF#000000##FFFFFF
##CF2D311.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.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: #cf2d31;
/* rgb */ color: rgb(207, 45, 49);
/* oklch */ color: oklch(56.0% 0.198 25.4);
Tailwind
colors: {
  custom: {
    50: '#e7756a',
    500: '#cf2d31',
    950: '#000000',
  },
}
SCSS
$custom: #cf2d31;
$custom-light: #e7756a;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2d31",
  "rgb": {
    "r": 207,
    "g": 45,
    "b": 49
  },
  "hsl": {
    "h": 358.519,
    "s": 64.286,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55955,
    "c": 0.19764,
    "h": 25.4
  },
  "luminance": 0.15364
}

Semantic roles & 50–950 ramp

primary
#CF2D31
secondary
#87D1CF
accent
#E7E341
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A

Preview Lab

Preview with #CF2D31

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

Preview Lab → · Contrast checker → · Palette generator →

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