#CF5740#CF5740

#CF5740 is a mid, vivid red. Relative luminance 0.205; OKLCH L 60.7% C 0.157 H 32.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CF5740
RGBrgb(207, 87, 64)
HSLhsl(10, 60%, 53%)
HSVhsv(10, 69%, 81%)
CMYKcmyk(0%, 58%, 69.1%, 18.8%)
CIE-LABlab(52.35, 46.09, 36.91)
CIE-LCHlch(52.35, 59.05, 38.69°)
OKLaboklab(60.67% 0.1323 0.0849)
OKLCHoklch(60.67% 0.157 32.7)
XYZxyz(30.0687, 20.4559, 7.2145)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5740 #40B8CF
analogous
#CF4070 #CF5740 #CF9E40
triadic
#CF5740 #40CF57 #5740CF
tetradic
#CF5740 #70CF40 #40B8CF #9E40CF
square
#CF5740 #70CF40 #40B8CF #9E40CF
split-complementary
#CF5740 #40CF9E #4070CF
monochromatic
#772C1E #A83E2A #CF5740 #DB8271 #E8ADA2

Accessibility & contrast

On white

4.13
#CF5740 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CF5740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5740
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5740#FFFFFF#000000##000000
##CF57401.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#776D3D
Deuteranopia (green-blind)
#95873D
Tritanopia (blue-blind)
#E33D52
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf5740;
/* rgb */ color: rgb(207, 87, 64);
/* oklch */ color: oklch(60.7% 0.157 32.7);
Tailwind
colors: {
  custom: {
    50: '#e58a75',
    500: '#cf5740',
    950: '#000000',
  },
}
SCSS
$custom: #cf5740;
$custom-light: #e58a75;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5740",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 64
  },
  "hsl": {
    "h": 9.65,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60672,
    "c": 0.15723,
    "h": 32.7
  },
  "luminance": 0.20452
}

Semantic roles & 50–950 ramp

primary
#CF5740
secondary
#97CAD4
accent
#CAE345
background
#FFF8F7
surface
#FEF0ED
border
#D6CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #CF5740

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

Preview Lab → · Contrast checker → · Palette generator →

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