#CF5062#CF5062

#CF5062 is a mid, vivid red. Relative luminance 0.199; OKLCH L 60.4% C 0.161 H 14.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CF5062
RGBrgb(207, 80, 98)
HSLhsl(351, 57%, 56%)
HSVhsv(351, 61%, 81%)
CMYKcmyk(0%, 61.4%, 52.7%, 18.8%)
CIE-LABlab(51.71, 51.60, 16.35)
CIE-LCHlch(51.71, 54.13, 17.58°)
OKLaboklab(60.38% 0.1554 0.0411)
OKLCHoklch(60.38% 0.161 14.8)
XYZxyz(30.8080, 19.8884, 13.7694)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5062 #50CFBD
analogous
#CF50A2 #CF5062 #CF7E50
triadic
#CF5062 #62CF50 #5062CF
tetradic
#CF5062 #A2CF50 #50CFBD #7E50CF
square
#CF5062 #A2CF50 #50CFBD #7E50CF
split-complementary
#CF5062 #50CF7E #50A2CF
monochromatic
#812331 #B13143 #CF5062 #DC808D #E9B0B8

Accessibility & contrast

On white

4.22
#CF5062 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CF5062 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5062
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5062#FFFFFF#000000##000000
##CF50621.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf5062;
/* rgb */ color: rgb(207, 80, 98);
/* oklch */ color: oklch(60.4% 0.161 14.8);
Tailwind
colors: {
  custom: {
    50: '#e3878e',
    500: '#cf5062',
    950: '#000000',
  },
}
SCSS
$custom: #cf5062;
$custom-light: #e3878e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5062",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 98
  },
  "hsl": {
    "h": 351.496,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60378,
    "c": 0.16075,
    "h": 14.8
  },
  "luminance": 0.19885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5062

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

Preview Lab → · Contrast checker → · Palette generator →

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