#CF4052#CF4052

#CF4052 is a mid, vivid red. Relative luminance 0.175; OKLCH L 58.2% C 0.179 H 17.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CF4052
RGBrgb(207, 64, 82)
HSLhsl(352, 60%, 53%)
HSVhsv(352, 69%, 81%)
CMYKcmyk(0%, 69.1%, 60.4%, 18.8%)
CIE-LABlab(48.94, 57.05, 22.23)
CIE-LCHlch(48.94, 61.22, 21.29°)
OKLaboklab(58.2% 0.1703 0.0541)
OKLCHoklch(58.2% 0.179 17.6)
XYZxyz(29.0914, 17.5455, 9.8358)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4052 #40CFBD
analogous
#CF4099 #CF4052 #CF7640
triadic
#CF4052 #52CF40 #4052CF
tetradic
#CF4052 #99CF40 #40CFBD #7640CF
square
#CF4052 #99CF40 #40CFBD #7640CF
split-complementary
#CF4052 #40CF76 #4099CF
monochromatic
#771E29 #A82A3A #CF4052 #DB717E #E8A2AB

Accessibility & contrast

On white

4.66
#CF4052 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#CF4052 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CF4052
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4052#FFFFFF#000000##FFFFFF
##CF40521.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666152
Deuteranopia (green-blind)
#8A7F4E
Tritanopia (blue-blind)
#E31B48
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cf4052;
/* rgb */ color: rgb(207, 64, 82);
/* oklch */ color: oklch(58.2% 0.179 17.6);
Tailwind
colors: {
  custom: {
    50: '#e57e82',
    500: '#cf4052',
    950: '#000000',
  },
}
SCSS
$custom: #cf4052;
$custom-light: #e57e82;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4052",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 82
  },
  "hsl": {
    "h": 352.448,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58203,
    "c": 0.17865,
    "h": 17.6
  },
  "luminance": 0.17541
}

Semantic roles & 50–950 ramp

primary
#CF4052
secondary
#97D4CC
accent
#E3CF45
background
#FFF8F7
surface
#FEEFEE
border
#D6CAC9
text
#170B0A
muted
#857C7C

Preview Lab

Preview with #CF4052

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

Preview Lab → · Contrast checker → · Palette generator →

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