#CF5A42#CF5A42

#CF5A42 is a mid, vivid red. Relative luminance 0.210; OKLCH L 61.1% C 0.154 H 33.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CF5A42
RGBrgb(207, 90, 66)
HSLhsl(10, 59%, 54%)
HSVhsv(10, 68%, 81%)
CMYKcmyk(0%, 56.5%, 68.1%, 18.8%)
CIE-LABlab(52.92, 44.77, 36.48)
CIE-LCHlch(52.92, 57.74, 39.17°)
OKLaboklab(61.11% 0.1286 0.0843)
OKLCHoklch(61.11% 0.154 33.2)
XYZxyz(30.3746, 20.9750, 7.6023)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5A42 #42B7CF
analogous
#CF4270 #CF5A42 #CFA042
triadic
#CF5A42 #42CF5A #5A42CF
tetradic
#CF5A42 #70CF42 #42B7CF #A042CF
square
#CF5A42 #70CF42 #42B7CF #A042CF
split-complementary
#CF5A42 #42CFA0 #4270CF
monochromatic
#782E1F #A9402B #CF5A42 #DB8573 #E8AFA4

Accessibility & contrast

On white

4.04
#CF5A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#CF5A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5A42
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5A42#FFFFFF#000000##000000
##CF5A421.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#796E3F
Deuteranopia (green-blind)
#96883F
Tritanopia (blue-blind)
#E34255
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf5a42;
/* rgb */ color: rgb(207, 90, 66);
/* oklch */ color: oklch(61.1% 0.154 33.2);
Tailwind
colors: {
  custom: {
    50: '#e48c77',
    500: '#cf5a42',
    950: '#000000',
  },
}
SCSS
$custom: #cf5a42;
$custom-light: #e48c77;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5a42",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 66
  },
  "hsl": {
    "h": 10.213,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61114,
    "c": 0.15376,
    "h": 33.2
  },
  "luminance": 0.20971
}

Semantic roles & 50–950 ramp

primary
#CF5A42
secondary
#98CAD5
accent
#C8E345
background
#FFF8F7
surface
#FEF0ED
border
#D6CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #CF5A42

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

Preview Lab → · Contrast checker → · Palette generator →

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