#CF5052#CF5052

#CF5052 is a mid, vivid red. Relative luminance 0.196; OKLCH L 60.0% C 0.161 H 22.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CF5052
RGBrgb(207, 80, 82)
HSLhsl(359, 57%, 56%)
HSVhsv(359, 61%, 81%)
CMYKcmyk(0%, 61.4%, 60.4%, 18.8%)
CIE-LABlab(51.40, 50.39, 25.43)
CIE-LCHlch(51.40, 56.45, 26.78°)
OKLaboklab(60.04% 0.1492 0.0615)
OKLCHoklch(60.04% 0.161 22.4)
XYZxyz(30.1266, 19.6159, 10.1808)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5052 #50CFCD
analogous
#CF5092 #CF5052 #CF8E50
triadic
#CF5052 #52CF50 #5052CF
tetradic
#CF5052 #92CF50 #50CFCD #8E50CF
square
#CF5052 #92CF50 #50CFCD #8E50CF
split-complementary
#CF5052 #50CF8E #5092CF
monochromatic
#812325 #B13133 #CF5052 #DC8081 #E9B0B1

Accessibility & contrast

On white

4.27
#CF5052 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CF5052 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5052
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5052#FFFFFF#000000##000000
##CF50521.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#706A51
Deuteranopia (green-blind)
#90854F
Tritanopia (blue-blind)
#E23752
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf5052;
/* rgb */ color: rgb(207, 80, 82);
/* oklch */ color: oklch(60.0% 0.161 22.4);
Tailwind
colors: {
  custom: {
    50: '#e48682',
    500: '#cf5052',
    950: '#000000',
  },
}
SCSS
$custom: #cf5052;
$custom-light: #e48682;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5052",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 82
  },
  "hsl": {
    "h": 359.055,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60044,
    "c": 0.16132,
    "h": 22.4
  },
  "luminance": 0.19612
}

Semantic roles & 50–950 ramp

primary
#CF5052
secondary
#A3D8D7
accent
#E0DE48
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#170C0A
muted
#857D7C

Preview Lab

Preview with #CF5052

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

Preview Lab → · Contrast checker → · Palette generator →

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