#CF5168#CF5168

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

Color values

HEX#CF5168
RGBrgb(207, 81, 104)
HSLhsl(349, 57%, 56%)
HSVhsv(349, 61%, 81%)
CMYKcmyk(0%, 60.9%, 49.8%, 18.8%)
CIE-LABlab(52.01, 51.67, 13.19)
CIE-LCHlch(52.01, 53.33, 14.31°)
OKLaboklab(60.65% 0.1563 0.0336)
OKLCHoklch(60.65% 0.16 12.1)
XYZxyz(31.1757, 20.1535, 15.3423)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5168 #51CFB8
analogous
#CF51A7 #CF5168 #CF7951
triadic
#CF5168 #68CF51 #5168CF
tetradic
#CF5168 #A7CF51 #51CFB8 #7951CF
square
#CF5168 #A7CF51 #51CFB8 #7951CF
split-complementary
#CF5168 #51CF79 #51A7CF
monochromatic
#822435 #B23149 #CF5168 #DC8192 #E9B1BB

Accessibility & contrast

On white

4.17
#CF5168 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CF5168 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5168
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5168#FFFFFF#000000##000000
##CF51681.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D6C68
Deuteranopia (green-blind)
#8E8665
Tritanopia (blue-blind)
#E13E5A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf5168;
/* rgb */ color: rgb(207, 81, 104);
/* oklch */ color: oklch(60.6% 0.160 12.1);
Tailwind
colors: {
  custom: {
    50: '#e38793',
    500: '#cf5168',
    950: '#000000',
  },
}
SCSS
$custom: #cf5168;
$custom-light: #e38793;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5168",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 104
  },
  "hsl": {
    "h": 349.048,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60646,
    "c": 0.1599,
    "h": 12.1
  },
  "luminance": 0.2015
}

Semantic roles & 50–950 ramp

primary
#CF5168
secondary
#A4D8CE
accent
#E0C448
background
#FEF8F9
surface
#FDF0F1
border
#D5CBCB
text
#160C0D
muted
#847D7E

Preview Lab

Preview with #CF5168

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

Preview Lab → · Contrast checker → · Palette generator →

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