#CF5162#CF5162

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

Color values

HEX#CF5162
RGBrgb(207, 81, 98)
HSLhsl(352, 57%, 56%)
HSVhsv(352, 61%, 81%)
CMYKcmyk(0%, 60.9%, 52.7%, 18.8%)
CIE-LABlab(51.88, 51.16, 16.58)
CIE-LCHlch(51.88, 53.78, 17.96°)
OKLaboklab(60.5% 0.154 0.0417)
OKLCHoklch(60.5% 0.16 15.1)
XYZxyz(30.8817, 20.0359, 13.7940)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5162 #51CFBE
analogous
#CF51A1 #CF5162 #CF7F51
triadic
#CF5162 #62CF51 #5162CF
tetradic
#CF5162 #A1CF51 #51CFBE #7F51CF
square
#CF5162 #A1CF51 #51CFBE #7F51CF
split-complementary
#CF5162 #51CF7F #51A1CF
monochromatic
#822430 #B23142 #CF5162 #DC818D #E9B1B9

Accessibility & contrast

On white

4.19
#CF5162 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CF5162 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5162
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5162#FFFFFF#000000##000000
##CF51621.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E6B62
Deuteranopia (green-blind)
#8E855F
Tritanopia (blue-blind)
#E13C58
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf5162;
/* rgb */ color: rgb(207, 81, 98);
/* oklch */ color: oklch(60.5% 0.160 15.1);
Tailwind
colors: {
  custom: {
    50: '#e3878e',
    500: '#cf5162',
    950: '#000000',
  },
}
SCSS
$custom: #cf5162;
$custom-light: #e3878e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5162",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 98
  },
  "hsl": {
    "h": 351.905,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60503,
    "c": 0.15953,
    "h": 15.1
  },
  "luminance": 0.20032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5162

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

Preview Lab → · Contrast checker → · Palette generator →

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