#CF5942#CF5942

#CF5942 is a mid, vivid red. Relative luminance 0.208; OKLCH L 61.0% C 0.155 H 32.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CF5942
RGBrgb(207, 89, 66)
HSLhsl(10, 59%, 54%)
HSVhsv(10, 68%, 81%)
CMYKcmyk(0%, 57%, 68.1%, 18.8%)
CIE-LABlab(52.74, 45.24, 36.26)
CIE-LCHlch(52.74, 57.98, 38.71°)
OKLaboklab(60.98% 0.1301 0.0838)
OKLCHoklch(60.98% 0.155 32.8)
XYZxyz(30.2908, 20.8074, 7.5744)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5942 #42B8CF
analogous
#CF4271 #CF5942 #CF9F42
triadic
#CF5942 #42CF59 #5942CF
tetradic
#CF5942 #71CF42 #42B8CF #9F42CF
square
#CF5942 #71CF42 #42B8CF #9F42CF
split-complementary
#CF5942 #42CF9F #4271CF
monochromatic
#782D1F #A93F2B #CF5942 #DB8473 #E8AFA4

Accessibility & contrast

On white

4.07
#CF5942 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CF5942 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5942
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5942#FFFFFF#000000##000000
##CF59421.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#786E3F
Deuteranopia (green-blind)
#95883F
Tritanopia (blue-blind)
#E34154
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf5942;
/* rgb */ color: rgb(207, 89, 66);
/* oklch */ color: oklch(61.0% 0.155 32.8);
Tailwind
colors: {
  custom: {
    50: '#e48c77',
    500: '#cf5942',
    950: '#000000',
  },
}
SCSS
$custom: #cf5942;
$custom-light: #e48c77;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5942",
  "rgb": {
    "r": 207,
    "g": 89,
    "b": 66
  },
  "hsl": {
    "h": 9.787,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60975,
    "c": 0.15475,
    "h": 32.8
  },
  "luminance": 0.20804
}

Semantic roles & 50–950 ramp

primary
#CF5942
secondary
#98CBD5
accent
#C9E345
background
#FFF8F7
surface
#FEF0ED
border
#D6CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #CF5942

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

Preview Lab → · Contrast checker → · Palette generator →

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