#CF5161#CF5161

#CF5161 is a mid, vivid red. Relative luminance 0.200; OKLCH L 60.5% C 0.160 H 15.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CF5161
RGBrgb(207, 81, 97)
HSLhsl(352, 57%, 56%)
HSVhsv(352, 61%, 81%)
CMYKcmyk(0%, 60.9%, 53.1%, 18.8%)
CIE-LABlab(51.86, 51.08, 17.15)
CIE-LCHlch(51.86, 53.88, 18.56°)
OKLaboklab(60.48% 0.1536 0.043)
OKLCHoklch(60.48% 0.16 15.6)
XYZxyz(30.8348, 20.0172, 13.5469)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5161 #51CFBF
analogous
#CF51A0 #CF5161 #CF8051
triadic
#CF5161 #61CF51 #5161CF
tetradic
#CF5161 #A0CF51 #51CFBF #8051CF
square
#CF5161 #A0CF51 #51CFBF #8051CF
split-complementary
#CF5161 #51CF80 #51A0CF
monochromatic
#822430 #B23141 #CF5161 #DC818D #E9B1B8

Accessibility & contrast

On white

4.20
#CF5161 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CF5161 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5161
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5161#FFFFFF#000000##000000
##CF51611.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E6B61
Deuteranopia (green-blind)
#8F855E
Tritanopia (blue-blind)
#E13C57
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf5161;
/* rgb */ color: rgb(207, 81, 97);
/* oklch */ color: oklch(60.5% 0.160 15.6);
Tailwind
colors: {
  custom: {
    50: '#e3878d',
    500: '#cf5161',
    950: '#000000',
  },
}
SCSS
$custom: #cf5161;
$custom-light: #e3878d;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5161",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 97
  },
  "hsl": {
    "h": 352.381,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6048,
    "c": 0.15951,
    "h": 15.6
  },
  "luminance": 0.20013
}

Semantic roles & 50–950 ramp

primary
#CF5161
secondary
#A4D8D1
accent
#E0CD48
background
#FEF8F8
surface
#FDF0F0
border
#D5CBCB
text
#170C0C
muted
#857D7D

Preview Lab

Preview with #CF5161

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

Preview Lab → · Contrast checker → · Palette generator →

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