#CF5251#CF5251

#CF5251 is a mid, vivid red. Relative luminance 0.199; OKLCH L 60.3% C 0.159 H 23.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CF5251
RGBrgb(207, 82, 81)
HSLhsl(0, 57%, 56%)
HSVhsv(0, 61%, 81%)
CMYKcmyk(0%, 60.4%, 60.9%, 18.8%)
CIE-LABlab(51.72, 49.42, 26.43)
CIE-LCHlch(51.72, 56.05, 28.14°)
OKLaboklab(60.28% 0.1459 0.0637)
OKLCHoklch(60.28% 0.159 23.6)
XYZxyz(30.2374, 19.8980, 10.0314)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5251 #51CECF
analogous
#CF518F #CF5251 #CF9151
triadic
#CF5251 #51CF52 #5251CF
tetradic
#CF5251 #8FCF51 #51CECF #9151CF
square
#CF5251 #8FCF51 #51CECF #9151CF
split-complementary
#CF5251 #51CF91 #518FCF
monochromatic
#822524 #B23231 #CF5251 #DC8281 #E9B1B1

Accessibility & contrast

On white

4.22
#CF5251 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CF5251 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5251
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5251#FFFFFF#000000##000000
##CF52511.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#726B50
Deuteranopia (green-blind)
#91854E
Tritanopia (blue-blind)
#E23A53
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf5251;
/* rgb */ color: rgb(207, 82, 81);
/* oklch */ color: oklch(60.3% 0.159 23.6);
Tailwind
colors: {
  custom: {
    50: '#e48882',
    500: '#cf5251',
    950: '#000000',
  },
}
SCSS
$custom: #cf5251;
$custom-light: #e48882;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5251",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 81
  },
  "hsl": {
    "h": 0.476,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6028,
    "c": 0.15921,
    "h": 23.6
  },
  "luminance": 0.19894
}

Semantic roles & 50–950 ramp

primary
#CF5251
secondary
#A4D7D8
accent
#DFE048
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#170C0A
muted
#857D7C

Preview Lab

Preview with #CF5251

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

Preview Lab → · Contrast checker → · Palette generator →

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