#CF5340#CF5340

#CF5340 is a mid, vivid red. Relative luminance 0.198; OKLCH L 60.1% C 0.161 H 31.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CF5340
RGBrgb(207, 83, 64)
HSLhsl(8, 60%, 53%)
HSVhsv(8, 69%, 81%)
CMYKcmyk(0%, 59.9%, 69.1%, 18.8%)
CIE-LABlab(51.64, 47.95, 36.08)
CIE-LCHlch(51.64, 60.01, 36.97°)
OKLaboklab(60.14% 0.1381 0.0831)
OKLCHoklch(60.14% 0.161 31)
XYZxyz(29.7538, 19.8261, 7.1095)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5340 #40BCCF
analogous
#CF4074 #CF5340 #CF9A40
triadic
#CF5340 #40CF53 #5340CF
tetradic
#CF5340 #74CF40 #40BCCF #9A40CF
square
#CF5340 #74CF40 #40BCCF #9A40CF
split-complementary
#CF5340 #40CF9A #4074CF
monochromatic
#772A1E #A83B2A #CF5340 #DB7F71 #E8ABA2

Accessibility & contrast

On white

4.23
#CF5340 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CF5340 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5340
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5340#FFFFFF#000000##000000
##CF53401.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#746A3D
Deuteranopia (green-blind)
#93853D
Tritanopia (blue-blind)
#E3384F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf5340;
/* rgb */ color: rgb(207, 83, 64);
/* oklch */ color: oklch(60.1% 0.161 31.0);
Tailwind
colors: {
  custom: {
    50: '#e58875',
    500: '#cf5340',
    950: '#000000',
  },
}
SCSS
$custom: #cf5340;
$custom-light: #e58875;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5340",
  "rgb": {
    "r": 207,
    "g": 83,
    "b": 64
  },
  "hsl": {
    "h": 7.972,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60136,
    "c": 0.1612,
    "h": 31
  },
  "luminance": 0.19822
}

Semantic roles & 50–950 ramp

primary
#CF5340
secondary
#97CCD4
accent
#CEE345
background
#FFF8F7
surface
#FEF0ED
border
#D6CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #CF5340

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

Preview Lab → · Contrast checker → · Palette generator →

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