#CF5166#CF5166

#CF5166 is a mid, vivid red. Relative luminance 0.201; OKLCH L 60.6% C 0.160 H 13.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CF5166
RGBrgb(207, 81, 102)
HSLhsl(350, 57%, 56%)
HSVhsv(350, 61%, 81%)
CMYKcmyk(0%, 60.9%, 50.7%, 18.8%)
CIE-LABlab(51.97, 51.50, 14.32)
CIE-LCHlch(51.97, 53.45, 15.54°)
OKLaboklab(60.6% 0.1556 0.0363)
OKLCHoklch(60.6% 0.16 13.1)
XYZxyz(31.0753, 20.1134, 14.8136)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5166 #51CFBA
analogous
#CF51A5 #CF5166 #CF7B51
triadic
#CF5166 #66CF51 #5166CF
tetradic
#CF5166 #A5CF51 #51CFBA #7B51CF
square
#CF5166 #A5CF51 #51CFBA #7B51CF
split-complementary
#CF5166 #51CF7B #51A5CF
monochromatic
#822433 #B23146 #CF5166 #DC8190 #E9B1BA

Accessibility & contrast

On white

4.18
#CF5166 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CF5166 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5166
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5166#FFFFFF#000000##000000
##CF51661.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D6C66
Deuteranopia (green-blind)
#8E8563
Tritanopia (blue-blind)
#E13D59
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf5166;
/* rgb */ color: rgb(207, 81, 102);
/* oklch */ color: oklch(60.6% 0.160 13.1);
Tailwind
colors: {
  custom: {
    50: '#e38791',
    500: '#cf5166',
    950: '#000000',
  },
}
SCSS
$custom: #cf5166;
$custom-light: #e38791;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5166",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 102
  },
  "hsl": {
    "h": 350,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60597,
    "c": 0.15974,
    "h": 13.1
  },
  "luminance": 0.2011
}

Semantic roles & 50–950 ramp

primary
#CF5166
secondary
#A4D8CF
accent
#E0C748
background
#FEF8F8
surface
#FDF0F0
border
#D5CBCB
text
#160C0C
muted
#847D7D

Preview Lab

Preview with #CF5166

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

Preview Lab → · Contrast checker → · Palette generator →

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