#CF4042#CF4042

#CF4042 is a mid, vivid red. Relative luminance 0.173; OKLCH L 57.9% C 0.180 H 24.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CF4042
RGBrgb(207, 64, 66)
HSLhsl(359, 60%, 53%)
HSVhsv(359, 69%, 81%)
CMYKcmyk(0%, 69.1%, 68.1%, 18.8%)
CIE-LABlab(48.67, 56.10, 31.40)
CIE-LCHlch(48.67, 64.29, 29.24°)
OKLaboklab(57.92% 0.1642 0.0731)
OKLCHoklch(57.92% 0.18 24)
XYZxyz(28.5519, 17.3297, 6.9947)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4042 #40CFCD
analogous
#CF4089 #CF4042 #CF8540
triadic
#CF4042 #42CF40 #4042CF
tetradic
#CF4042 #89CF40 #40CFCD #8540CF
square
#CF4042 #89CF40 #40CFCD #8540CF
split-complementary
#CF4042 #40CF85 #4089CF
monochromatic
#771E1F #A82A2C #CF4042 #DB7172 #E8A2A3

Accessibility & contrast

On white

4.70
#CF4042 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#CF4042 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF4042
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4042#FFFFFF#000000##FFFFFF
##CF40421.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686041
Deuteranopia (green-blind)
#8C7F3E
Tritanopia (blue-blind)
#E31442
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cf4042;
/* rgb */ color: rgb(207, 64, 66);
/* oklch */ color: oklch(57.9% 0.180 24.0);
Tailwind
colors: {
  custom: {
    50: '#e67e76',
    500: '#cf4042',
    950: '#000000',
  },
}
SCSS
$custom: #cf4042;
$custom-light: #e67e76;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4042",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 66
  },
  "hsl": {
    "h": 359.161,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57917,
    "c": 0.1797,
    "h": 24
  },
  "luminance": 0.17326
}

Semantic roles & 50–950 ramp

primary
#CF4042
secondary
#97D4D3
accent
#E3E145
background
#FFF8F7
surface
#FEEFED
border
#D6CAC8
text
#170A08
muted
#857C7B

Preview Lab

Preview with #CF4042

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

Preview Lab → · Contrast checker → · Palette generator →

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