#CF5152#CF5152

#CF5152 is a mid, vivid red. Relative luminance 0.198; OKLCH L 60.2% C 0.160 H 22.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CF5152
RGBrgb(207, 81, 82)
HSLhsl(360, 57%, 56%)
HSVhsv(360, 61%, 81%)
CMYKcmyk(0%, 60.9%, 60.4%, 18.8%)
CIE-LABlab(51.57, 49.94, 25.65)
CIE-LCHlch(51.57, 56.15, 27.18°)
OKLaboklab(60.17% 0.1477 0.062)
OKLCHoklch(60.17% 0.16 22.8)
XYZxyz(30.2003, 19.7634, 10.2054)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5152 #51CFCE
analogous
#CF5191 #CF5152 #CF8F51
triadic
#CF5152 #52CF51 #5152CF
tetradic
#CF5152 #91CF51 #51CFCE #8F51CF
square
#CF5152 #91CF51 #51CFCE #8F51CF
split-complementary
#CF5152 #51CF8F #5191CF
monochromatic
#822425 #B23132 #CF5152 #DC8182 #E9B1B1

Accessibility & contrast

On white

4.24
#CF5152 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CF5152 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5152
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5152#FFFFFF#000000##000000
##CF51521.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#716A51
Deuteranopia (green-blind)
#90854F
Tritanopia (blue-blind)
#E23853
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf5152;
/* rgb */ color: rgb(207, 81, 82);
/* oklch */ color: oklch(60.2% 0.160 22.8);
Tailwind
colors: {
  custom: {
    50: '#e48782',
    500: '#cf5152',
    950: '#000000',
  },
}
SCSS
$custom: #cf5152;
$custom-light: #e48782;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5152",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 82
  },
  "hsl": {
    "h": 359.524,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6017,
    "c": 0.16021,
    "h": 22.8
  },
  "luminance": 0.19759
}

Semantic roles & 50–950 ramp

primary
#CF5152
secondary
#A4D8D7
accent
#E0DF48
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#170C0A
muted
#857D7C

Preview Lab

Preview with #CF5152

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

Preview Lab → · Contrast checker → · Palette generator →

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