#CF5072#CF5072

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

Color values

HEX#CF5072
RGBrgb(207, 80, 114)
HSLhsl(344, 57%, 56%)
HSVhsv(344, 61%, 81%)
CMYKcmyk(0%, 61.4%, 44.9%, 18.8%)
CIE-LABlab(52.09, 53.05, 7.31)
CIE-LCHlch(52.09, 53.55, 7.85°)
OKLaboklab(60.78% 0.1615 0.0193)
OKLCHoklch(60.78% 0.163 6.8)
XYZxyz(31.6403, 20.2214, 18.1532)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5072 #50CFAD
analogous
#CF50B2 #CF5072 #CF6E50
triadic
#CF5072 #72CF50 #5072CF
tetradic
#CF5072 #B2CF50 #50CFAD #6E50CF
square
#CF5072 #B2CF50 #50CFAD #6E50CF
split-complementary
#CF5072 #50CF6E #50B2CF
monochromatic
#81233D #B13153 #CF5072 #DC8099 #E9B0BF

Accessibility & contrast

On white

4.16
#CF5072 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF5072#FFFFFF#000000##000000
##CF50721.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6C73
Deuteranopia (green-blind)
#8B866F
Tritanopia (blue-blind)
#E0405D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf5072;
/* rgb */ color: rgb(207, 80, 114);
/* oklch */ color: oklch(60.8% 0.163 6.8);
Tailwind
colors: {
  custom: {
    50: '#e2879a',
    500: '#cf5072',
    950: '#000000',
  },
}
SCSS
$custom: #cf5072;
$custom-light: #e2879a;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5072",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 114
  },
  "hsl": {
    "h": 343.937,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60782,
    "c": 0.16264,
    "h": 6.8
  },
  "luminance": 0.20218
}

Semantic roles & 50–950 ramp

primary
#CF5072
secondary
#A3D8CA
accent
#E0B748
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF5072

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

Preview Lab → · Contrast checker → · Palette generator →

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