#CF5851#CF5851

#CF5851 is a mid, vivid red. Relative luminance 0.208; OKLCH L 61.1% C 0.153 H 25.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CF5851
RGBrgb(207, 88, 81)
HSLhsl(3, 57%, 56%)
HSVhsv(3, 61%, 81%)
CMYKcmyk(0%, 57.5%, 60.9%, 18.8%)
CIE-LABlab(52.78, 46.64, 27.78)
CIE-LCHlch(52.78, 54.29, 30.78°)
OKLaboklab(61.08% 0.1372 0.0668)
OKLCHoklch(61.08% 0.153 25.9)
XYZxyz(30.7098, 20.8428, 10.1889)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5851 #51C8CF
analogous
#CF5189 #CF5851 #CF9751
triadic
#CF5851 #51CF58 #5851CF
tetradic
#CF5851 #89CF51 #51C8CF #9751CF
square
#CF5851 #89CF51 #51C8CF #9751CF
split-complementary
#CF5851 #51CF97 #5189CF
monochromatic
#822924 #B23831 #CF5851 #DC8681 #E9B4B1

Accessibility & contrast

On white

4.06
#CF5851 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CF5851 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5851
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5851#FFFFFF#000000##000000
##CF58511.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#766E50
Deuteranopia (green-blind)
#94884E
Tritanopia (blue-blind)
#E24257
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf5851;
/* rgb */ color: rgb(207, 88, 81);
/* oklch */ color: oklch(61.1% 0.153 25.9);
Tailwind
colors: {
  custom: {
    50: '#e48b82',
    500: '#cf5851',
    950: '#000000',
  },
}
SCSS
$custom: #cf5851;
$custom-light: #e48b82;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5851",
  "rgb": {
    "r": 207,
    "g": 88,
    "b": 81
  },
  "hsl": {
    "h": 3.333,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61075,
    "c": 0.15257,
    "h": 25.9
  },
  "luminance": 0.20839
}

Semantic roles & 50–950 ramp

primary
#CF5851
secondary
#A4D5D8
accent
#D8E048
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#170C0A
muted
#857D7C

Preview Lab

Preview with #CF5851

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

Preview Lab → · Contrast checker → · Palette generator →

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