#CF5342#CF5342

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

Color values

HEX#CF5342
RGBrgb(207, 83, 66)
HSLhsl(7, 59%, 54%)
HSVhsv(7, 68%, 81%)
CMYKcmyk(0%, 59.9%, 68.1%, 18.8%)
CIE-LABlab(51.67, 48.05, 34.99)
CIE-LCHlch(51.67, 59.44, 36.06°)
OKLaboklab(60.17% 0.1389 0.081)
OKLCHoklch(60.17% 0.161 30.3)
XYZxyz(29.8117, 19.8493, 7.4147)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5342 #42BECF
analogous
#CF4277 #CF5342 #CF9942
triadic
#CF5342 #42CF53 #5342CF
tetradic
#CF5342 #77CF42 #42BECF #9942CF
square
#CF5342 #77CF42 #42BECF #9942CF
split-complementary
#CF5342 #42CF99 #4277CF
monochromatic
#78291F #A93A2B #CF5342 #DB7F73 #E8ACA4

Accessibility & contrast

On white

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

On black

4.97
#CF5342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5342
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5342#FFFFFF#000000##000000
##CF53421.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#746A40
Deuteranopia (green-blind)
#93853F
Tritanopia (blue-blind)
#E33850
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf5342;
/* rgb */ color: rgb(207, 83, 66);
/* oklch */ color: oklch(60.2% 0.161 30.3);
Tailwind
colors: {
  custom: {
    50: '#e58877',
    500: '#cf5342',
    950: '#000000',
  },
}
SCSS
$custom: #cf5342;
$custom-light: #e58877;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5342",
  "rgb": {
    "r": 207,
    "g": 83,
    "b": 66
  },
  "hsl": {
    "h": 7.234,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60165,
    "c": 0.16076,
    "h": 30.3
  },
  "luminance": 0.19845
}

Semantic roles & 50–950 ramp

primary
#CF5342
secondary
#98CDD5
accent
#D0E345
background
#FFF8F7
surface
#FEF0ED
border
#D6CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #CF5342

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

Preview Lab → · Contrast checker → · Palette generator →

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