#CF528F#CF528F

#CF528F is a mid, vivid pink. Relative luminance 0.213; OKLCH L 61.9% C 0.170 H 352.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#CF528F
RGBrgb(207, 82, 143)
HSLhsl(331, 57%, 57%)
HSVhsv(331, 60%, 81%)
CMYKcmyk(0%, 60.4%, 30.9%, 18.8%)
CIE-LABlab(53.26, 55.38, -8.24)
CIE-LCHlch(53.26, 55.99, 351.54°)
OKLaboklab(61.93% 0.1685 -0.0211)
OKLCHoklch(61.93% 0.17 352.9)
XYZxyz(33.7089, 21.2866, 28.3148)
Luminance0.2128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF528F #52CF92
analogous
#CF52CE #CF528F #CF5452
triadic
#CF528F #8FCF52 #528FCF
tetradic
#CF528F #CECF52 #52CF92 #5452CF
square
#CF528F #CECF52 #52CF92 #5452CF
split-complementary
#CF528F #52CF54 #52CECF
monochromatic
#822452 #B23170 #CF528F #DC82AE #EAB2CD

Accessibility & contrast

On white

3.99
#CF528F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#CF528F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF528F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF528F#FFFFFF#000000##000000
##CF528F1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#647191
Deuteranopia (green-blind)
#86888C
Tritanopia (blue-blind)
#DE4B6A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf528f;
/* rgb */ color: rgb(207, 82, 143);
/* oklch */ color: oklch(61.9% 0.170 352.9);
Tailwind
colors: {
  custom: {
    50: '#e189af',
    500: '#cf528f',
    950: '#000000',
  },
}
SCSS
$custom: #cf528f;
$custom-light: #e189af;
$custom-dark: #000000;
JSON
{
  "hex": "#cf528f",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 143
  },
  "hsl": {
    "h": 330.72,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61934,
    "c": 0.1698,
    "h": 352.9
  },
  "luminance": 0.21283
}

Semantic roles & 50–950 ramp

primary
#CF528F
secondary
#A5D8BF
accent
#E09648
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF528F

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

Preview Lab → · Contrast checker → · Palette generator →

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