#CF5A52#CF5A52

#CF5A52 is a mid, vivid red. Relative luminance 0.212; OKLCH L 61.4% C 0.150 H 26.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#CF5A52
RGBrgb(207, 90, 82)
HSLhsl(4, 57%, 57%)
HSVhsv(4, 60%, 81%)
CMYKcmyk(0%, 56.5%, 60.4%, 18.8%)
CIE-LABlab(53.16, 45.76, 27.69)
CIE-LCHlch(53.16, 53.49, 31.18°)
OKLaboklab(61.37% 0.1346 0.0666)
OKLCHoklch(61.37% 0.15 26.3)
XYZxyz(30.9140, 21.1908, 10.4433)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5A52 #52C7CF
analogous
#CF5289 #CF5A52 #CF9952
triadic
#CF5A52 #52CF5A #5A52CF
tetradic
#CF5A52 #89CF52 #52C7CF #9952CF
square
#CF5A52 #89CF52 #52C7CF #9952CF
split-complementary
#CF5A52 #52CF99 #5289CF
monochromatic
#822A24 #B23A31 #CF5A52 #DC8882 #EAB5B2

Accessibility & contrast

On white

4.01
#CF5A52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#CF5A52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5A52
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5A52#FFFFFF#000000##000000
##CF5A521.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#776F51
Deuteranopia (green-blind)
#94884F
Tritanopia (blue-blind)
#E24559
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf5a52;
/* rgb */ color: rgb(207, 90, 82);
/* oklch */ color: oklch(61.4% 0.150 26.3);
Tailwind
colors: {
  custom: {
    50: '#e48c82',
    500: '#cf5a52',
    950: '#000000',
  },
}
SCSS
$custom: #cf5a52;
$custom-light: #e48c82;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5a52",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 82
  },
  "hsl": {
    "h": 3.84,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61368,
    "c": 0.15019,
    "h": 26.3
  },
  "luminance": 0.21187
}

Semantic roles & 50–950 ramp

primary
#CF5A52
secondary
#A5D5D8
accent
#D6E048
background
#FEF8F8
surface
#FDF0EF
border
#D5CBCA
text
#170C0A
muted
#857D7C

Preview Lab

Preview with #CF5A52

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

Preview Lab → · Contrast checker → · Palette generator →

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