#CF3231#CF3231

#CF3231 is a mid, vivid red. Relative luminance 0.158; OKLCH L 56.4% C 0.194 H 26.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CF3231
RGBrgb(207, 50, 49)
HSLhsl(0, 62%, 50%)
HSVhsv(0, 76%, 81%)
CMYKcmyk(0%, 75.8%, 76.3%, 18.8%)
CIE-LABlab(46.67, 60.27, 38.89)
CIE-LCHlch(46.67, 71.73, 32.83°)
OKLaboklab(56.36% 0.1738 0.086)
OKLCHoklch(56.36% 0.194 26.3)
XYZxyz(27.4304, 15.7727, 4.5052)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3231 #31CECF
analogous
#CF317F #CF3231 #CF8131
triadic
#CF3231 #31CF32 #3231CF
tetradic
#CF3231 #7FCF31 #31CECF #8131CF
square
#CF3231 #7FCF31 #31CECF #8131CF
split-complementary
#CF3231 #31CF81 #317FCF
monochromatic
#6C1A19 #9E2625 #CF3231 #DB6363 #E69594

Accessibility & contrast

On white

5.06
#CF3231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#CF3231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3231
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3231#FFFFFF#000000##FFFFFF
##CF32311.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62592F
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#E40034
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cf3231;
/* rgb */ color: rgb(207, 50, 49);
/* oklch */ color: oklch(56.4% 0.194 26.3);
Tailwind
colors: {
  custom: {
    50: '#e7776a',
    500: '#cf3231',
    950: '#000000',
  },
}
SCSS
$custom: #cf3231;
$custom-light: #e7776a;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3231",
  "rgb": {
    "r": 207,
    "g": 50,
    "b": 49
  },
  "hsl": {
    "h": 0.38,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56357,
    "c": 0.19389,
    "h": 26.3
  },
  "luminance": 0.15768
}

Semantic roles & 50–950 ramp

primary
#CF3231
secondary
#8BD1D1
accent
#E4E543
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180A06
muted
#867C7A

Preview Lab

Preview with #CF3231

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

Preview Lab → · Contrast checker → · Palette generator →

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