#CF4940#CF4940

#CF4940 is a mid, vivid red. Relative luminance 0.184; OKLCH L 58.9% C 0.171 H 27.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CF4940
RGBrgb(207, 73, 64)
HSLhsl(4, 60%, 53%)
HSVhsv(4, 69%, 81%)
CMYKcmyk(0%, 64.7%, 69.1%, 18.8%)
CIE-LABlab(49.98, 52.36, 34.13)
CIE-LCHlch(49.98, 62.51, 33.10°)
OKLaboklab(58.89% 0.152 0.0788)
OKLCHoklch(58.89% 0.171 27.4)
XYZxyz(29.0431, 18.4048, 6.8726)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4940 #40C6CF
analogous
#CF407E #CF4940 #CF9040
triadic
#CF4940 #40CF49 #4940CF
tetradic
#CF4940 #7ECF40 #40C6CF #9040CF
square
#CF4940 #7ECF40 #40C6CF #9040CF
split-complementary
#CF4940 #40CF90 #407ECF
monochromatic
#77231E #A8322A #CF4940 #DB7871 #E8A6A2

Accessibility & contrast

On white

4.49
#CF4940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#CF4940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4940
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4940#FFFFFF#000000##000000
##CF49401.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E653E
Deuteranopia (green-blind)
#8F823C
Tritanopia (blue-blind)
#E32748
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf4940;
/* rgb */ color: rgb(207, 73, 64);
/* oklch */ color: oklch(58.9% 0.171 27.4);
Tailwind
colors: {
  custom: {
    50: '#e58275',
    500: '#cf4940',
    950: '#000000',
  },
}
SCSS
$custom: #cf4940;
$custom-light: #e58275;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4940",
  "rgb": {
    "r": 207,
    "g": 73,
    "b": 64
  },
  "hsl": {
    "h": 3.776,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5889,
    "c": 0.17119,
    "h": 27.4
  },
  "luminance": 0.18401
}

Semantic roles & 50–950 ramp

primary
#CF4940
secondary
#97D0D4
accent
#D9E345
background
#FFF8F7
surface
#FEEFED
border
#D6CAC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #CF4940

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

Preview Lab → · Contrast checker → · Palette generator →

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