#CF5042#CF5042

#CF5042 is a mid, vivid red. Relative luminance 0.194; OKLCH L 59.8% C 0.164 H 29.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CF5042
RGBrgb(207, 80, 66)
HSLhsl(6, 59%, 54%)
HSVhsv(6, 68%, 81%)
CMYKcmyk(0%, 61.4%, 68.1%, 18.8%)
CIE-LABlab(51.15, 49.41, 34.38)
CIE-LCHlch(51.15, 60.20, 34.83°)
OKLaboklab(59.78% 0.1431 0.0797)
OKLCHoklch(59.78% 0.164 29.1)
XYZxyz(29.5871, 19.4001, 7.3398)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5042 #42C1CF
analogous
#CF427A #CF5042 #CF9642
triadic
#CF5042 #42CF50 #5042CF
tetradic
#CF5042 #7ACF42 #42C1CF #9642CF
square
#CF5042 #7ACF42 #42C1CF #9642CF
split-complementary
#CF5042 #42CF96 #427ACF
monochromatic
#78271F #A9372B #CF5042 #DB7D73 #E8AAA4

Accessibility & contrast

On white

4.30
#CF5042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CF5042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5042
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5042#FFFFFF#000000##000000
##CF50421.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#726940
Deuteranopia (green-blind)
#92843E
Tritanopia (blue-blind)
#E3344D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf5042;
/* rgb */ color: rgb(207, 80, 66);
/* oklch */ color: oklch(59.8% 0.164 29.1);
Tailwind
colors: {
  custom: {
    50: '#e58677',
    500: '#cf5042',
    950: '#000000',
  },
}
SCSS
$custom: #cf5042;
$custom-light: #e58677;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5042",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 66
  },
  "hsl": {
    "h": 5.957,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59777,
    "c": 0.16379,
    "h": 29.1
  },
  "luminance": 0.19396
}

Semantic roles & 50–950 ramp

primary
#CF5042
secondary
#98CFD5
accent
#D3E345
background
#FFF8F7
surface
#FEF0ED
border
#D6CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #CF5042

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

Preview Lab → · Contrast checker → · Palette generator →

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