#CF5242#CF5242

#CF5242 is a mid, vivid red. Relative luminance 0.197; OKLCH L 60.0% C 0.162 H 29.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CF5242
RGBrgb(207, 82, 66)
HSLhsl(7, 59%, 54%)
HSVhsv(7, 68%, 81%)
CMYKcmyk(0%, 60.4%, 68.1%, 18.8%)
CIE-LABlab(51.49, 48.51, 34.79)
CIE-LCHlch(51.49, 59.70, 35.65°)
OKLaboklab(60.03% 0.1403 0.0806)
OKLCHoklch(60.03% 0.162 29.9)
XYZxyz(29.7358, 19.6973, 7.3893)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5242 #42BFCF
analogous
#CF4278 #CF5242 #CF9942
triadic
#CF5242 #42CF52 #5242CF
tetradic
#CF5242 #78CF42 #42BFCF #9942CF
square
#CF5242 #78CF42 #42BFCF #9942CF
split-complementary
#CF5242 #42CF99 #4278CF
monochromatic
#78291F #A9392B #CF5242 #DB7F73 #E8ABA4

Accessibility & contrast

On white

4.25
#CF5242 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CF5242 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5242
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5242#FFFFFF#000000##000000
##CF52421.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#736A40
Deuteranopia (green-blind)
#92853F
Tritanopia (blue-blind)
#E3374F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf5242;
/* rgb */ color: rgb(207, 82, 66);
/* oklch */ color: oklch(60.0% 0.162 29.9);
Tailwind
colors: {
  custom: {
    50: '#e58777',
    500: '#cf5242',
    950: '#000000',
  },
}
SCSS
$custom: #cf5242;
$custom-light: #e58777;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5242",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 66
  },
  "hsl": {
    "h": 6.809,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60034,
    "c": 0.16178,
    "h": 29.9
  },
  "luminance": 0.19693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5242

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

Preview Lab → · Contrast checker → · Palette generator →

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