#CF5151#CF5151

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

Color values

HEX#CF5151
RGBrgb(207, 81, 81)
HSLhsl(0, 57%, 56%)
HSVhsv(0, 61%, 81%)
CMYKcmyk(0%, 60.9%, 60.9%, 18.8%)
CIE-LABlab(51.55, 49.88, 26.21)
CIE-LCHlch(51.55, 56.35, 27.72°)
OKLaboklab(60.15% 0.1474 0.0632)
OKLCHoklch(60.15% 0.16 23.2)
XYZxyz(30.1626, 19.7483, 10.0065)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5151 #51CFCF
analogous
#CF5190 #CF5151 #CF9051
triadic
#CF5151 #51CF51 #5151CF
tetradic
#CF5151 #90CF51 #51CFCF #9051CF
square
#CF5151 #90CF51 #51CFCF #9051CF
split-complementary
#CF5151 #51CF90 #5190CF
monochromatic
#822424 #B23131 #CF5151 #DC8181 #E9B1B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF5151#FFFFFF#000000##000000
##CF51511.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)
#716A50
Deuteranopia (green-blind)
#91854E
Tritanopia (blue-blind)
#E23852
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf5151;
/* rgb */ color: rgb(207, 81, 81);
/* oklch */ color: oklch(60.2% 0.160 23.2);
Tailwind
colors: {
  custom: {
    50: '#e48782',
    500: '#cf5151',
    950: '#000000',
  },
}
SCSS
$custom: #cf5151;
$custom-light: #e48782;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5151",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 81
  },
  "hsl": {
    "h": 0,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60152,
    "c": 0.16033,
    "h": 23.2
  },
  "luminance": 0.19744
}

Semantic roles & 50–950 ramp

primary
#CF5151
secondary
#A4D8D8
accent
#E0E048
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#170C0A
muted
#857D7C

Preview Lab

Preview with #CF5151

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

Preview Lab → · Contrast checker → · Palette generator →

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