#CF5742#CF5742

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

Color values

HEX#CF5742
RGBrgb(207, 87, 66)
HSLhsl(9, 59%, 54%)
HSVhsv(9, 68%, 81%)
CMYKcmyk(0%, 58%, 68.1%, 18.8%)
CIE-LABlab(52.37, 46.19, 35.83)
CIE-LCHlch(52.37, 58.46, 37.80°)
OKLaboklab(60.7% 0.1331 0.0829)
OKLCHoklch(60.7% 0.157 31.9)
XYZxyz(30.1266, 20.4791, 7.5196)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5742 #42BACF
analogous
#CF4273 #CF5742 #CF9D42
triadic
#CF5742 #42CF57 #5742CF
tetradic
#CF5742 #73CF42 #42BACF #9D42CF
square
#CF5742 #73CF42 #42BACF #9D42CF
split-complementary
#CF5742 #42CF9D #4273CF
monochromatic
#782C1F #A93E2B #CF5742 #DB8273 #E8AEA4

Accessibility & contrast

On white

4.12
#CF5742 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF5742#FFFFFF#000000##000000
##CF57421.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#776D3F
Deuteranopia (green-blind)
#95873F
Tritanopia (blue-blind)
#E33E52
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf5742;
/* rgb */ color: rgb(207, 87, 66);
/* oklch */ color: oklch(60.7% 0.157 31.9);
Tailwind
colors: {
  custom: {
    50: '#e58a77',
    500: '#cf5742',
    950: '#000000',
  },
}
SCSS
$custom: #cf5742;
$custom-light: #e58a77;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5742",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 66
  },
  "hsl": {
    "h": 8.936,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.607,
    "c": 0.15674,
    "h": 31.9
  },
  "luminance": 0.20475
}

Semantic roles & 50–950 ramp

primary
#CF5742
secondary
#98CCD5
accent
#CBE345
background
#FFF8F7
surface
#FEF0ED
border
#D6CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #CF5742

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

Preview Lab → · Contrast checker → · Palette generator →

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