#CF528E#CF528E

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

Color values

HEX#CF528E
RGBrgb(207, 82, 142)
HSLhsl(331, 57%, 57%)
HSVhsv(331, 60%, 81%)
CMYKcmyk(0%, 60.4%, 31.4%, 18.8%)
CIE-LABlab(53.23, 55.26, -7.70)
CIE-LCHlch(53.23, 55.79, 352.07°)
OKLaboklab(61.9% 0.1682 -0.0197)
OKLCHoklch(61.9% 0.169 353.3)
XYZxyz(33.6335, 21.2564, 27.9176)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF528E #52CF93
analogous
#CF52CD #CF528E #CF5552
triadic
#CF528E #8ECF52 #528ECF
tetradic
#CF528E #CDCF52 #52CF93 #5552CF
square
#CF528E #CDCF52 #52CF93 #5552CF
split-complementary
#CF528E #52CF55 #52CDCF
monochromatic
#822451 #B2316F #CF528E #DC82AD #EAB2CD

Accessibility & contrast

On white

4.00
#CF528E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CF528E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF528E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF528E#FFFFFF#000000##000000
##CF528E1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf528e;
/* rgb */ color: rgb(207, 82, 142);
/* oklch */ color: oklch(61.9% 0.169 353.3);
Tailwind
colors: {
  custom: {
    50: '#e189af',
    500: '#cf528e',
    950: '#000000',
  },
}
SCSS
$custom: #cf528e;
$custom-light: #e189af;
$custom-dark: #000000;
JSON
{
  "hex": "#cf528e",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 331.2,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61899,
    "c": 0.16933,
    "h": 353.3
  },
  "luminance": 0.21253
}

Semantic roles & 50–950 ramp

primary
#CF528E
secondary
#A5D8BF
accent
#E09748
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF528E

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

Preview Lab → · Contrast checker → · Palette generator →

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