#CF5071#CF5071

#CF5071 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.8% C 0.162 H 7.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CF5071
RGBrgb(207, 80, 113)
HSLhsl(344, 57%, 56%)
HSVhsv(344, 61%, 81%)
CMYKcmyk(0%, 61.4%, 45.4%, 18.8%)
CIE-LABlab(52.06, 52.95, 7.88)
CIE-LCHlch(52.06, 53.54, 8.46°)
OKLaboklab(60.75% 0.1611 0.0207)
OKLCHoklch(60.75% 0.162 7.3)
XYZxyz(31.5837, 20.1987, 17.8551)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5071 #50CFAE
analogous
#CF50B1 #CF5071 #CF6F50
triadic
#CF5071 #71CF50 #5071CF
tetradic
#CF5071 #B1CF50 #50CFAE #6F50CF
square
#CF5071 #B1CF50 #50CFAE #6F50CF
split-complementary
#CF5071 #50CF6F #50B1CF
monochromatic
#81233C #B13152 #CF5071 #DC8098 #E9B0BF

Accessibility & contrast

On white

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

On black

5.04
#CF5071 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5071
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5071#FFFFFF#000000##000000
##CF50711.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B6C72
Deuteranopia (green-blind)
#8C866E
Tritanopia (blue-blind)
#E03F5D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf5071;
/* rgb */ color: rgb(207, 80, 113);
/* oklch */ color: oklch(60.8% 0.162 7.3);
Tailwind
colors: {
  custom: {
    50: '#e28799',
    500: '#cf5071',
    950: '#000000',
  },
}
SCSS
$custom: #cf5071;
$custom-light: #e28799;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5071",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 113
  },
  "hsl": {
    "h": 344.409,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60754,
    "c": 0.16244,
    "h": 7.3
  },
  "luminance": 0.20195
}

Semantic roles & 50–950 ramp

primary
#CF5071
secondary
#A3D8CA
accent
#E0B948
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0D
muted
#847D7E

Preview Lab

Preview with #CF5071

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

Preview Lab → · Contrast checker → · Palette generator →

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