#CF5142#CF5142

#CF5142 is a mid, vivid red. Relative luminance 0.195; OKLCH L 59.9% C 0.163 H 29.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CF5142
RGBrgb(207, 81, 66)
HSLhsl(6, 59%, 54%)
HSVhsv(6, 68%, 81%)
CMYKcmyk(0%, 60.9%, 68.1%, 18.8%)
CIE-LABlab(51.32, 48.96, 34.58)
CIE-LCHlch(51.32, 59.95, 35.23°)
OKLaboklab(59.9% 0.1417 0.0801)
OKLCHoklch(59.9% 0.163 29.5)
XYZxyz(29.6609, 19.5476, 7.3644)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5142 #42C0CF
analogous
#CF4279 #CF5142 #CF9742
triadic
#CF5142 #42CF51 #5142CF
tetradic
#CF5142 #79CF42 #42C0CF #9742CF
square
#CF5142 #79CF42 #42C0CF #9742CF
split-complementary
#CF5142 #42CF97 #4279CF
monochromatic
#78281F #A9382B #CF5142 #DB7E73 #E8ABA4

Accessibility & contrast

On white

4.28
#CF5142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CF5142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5142
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5142#FFFFFF#000000##000000
##CF51421.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#736940
Deuteranopia (green-blind)
#92853F
Tritanopia (blue-blind)
#E3354E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf5142;
/* rgb */ color: rgb(207, 81, 66);
/* oklch */ color: oklch(59.9% 0.163 29.5);
Tailwind
colors: {
  custom: {
    50: '#e58777',
    500: '#cf5142',
    950: '#000000',
  },
}
SCSS
$custom: #cf5142;
$custom-light: #e58777;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5142",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 66
  },
  "hsl": {
    "h": 6.383,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59905,
    "c": 0.16279,
    "h": 29.5
  },
  "luminance": 0.19544
}

Semantic roles & 50–950 ramp

primary
#CF5142
secondary
#98CED5
accent
#D2E345
background
#FFF8F7
surface
#FEF0ED
border
#D6CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #CF5142

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

Preview Lab → · Contrast checker → · Palette generator →

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