#CF528A#CF528A

#CF528A is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.8% C 0.168 H 355.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#CF528A
RGBrgb(207, 82, 138)
HSLhsl(333, 57%, 57%)
HSVhsv(333, 60%, 81%)
CMYKcmyk(0%, 60.4%, 33.3%, 18.8%)
CIE-LABlab(53.10, 54.77, -5.52)
CIE-LCHlch(53.10, 55.05, 354.25°)
OKLaboklab(61.76% 0.1669 -0.0138)
OKLCHoklch(61.76% 0.168 355.3)
XYZxyz(33.3386, 21.1385, 26.3642)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF528A #52CF97
analogous
#CF52C9 #CF528A #CF5952
triadic
#CF528A #8ACF52 #528ACF
tetradic
#CF528A #C9CF52 #52CF97 #5952CF
square
#CF528A #C9CF52 #52CF97 #5952CF
split-complementary
#CF528A #52CF59 #52C9CF
monochromatic
#82244E #B2316B #CF528A #DC82AA #EAB2CB

Accessibility & contrast

On white

4.02
#CF528A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#CF528A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF528A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF528A#FFFFFF#000000##000000
##CF528A1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#66708C
Deuteranopia (green-blind)
#878787
Tritanopia (blue-blind)
#DE4968
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf528a;
/* rgb */ color: rgb(207, 82, 138);
/* oklch */ color: oklch(61.8% 0.168 355.3);
Tailwind
colors: {
  custom: {
    50: '#e189ac',
    500: '#cf528a',
    950: '#000000',
  },
}
SCSS
$custom: #cf528a;
$custom-light: #e189ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf528a",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 138
  },
  "hsl": {
    "h": 333.12,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61762,
    "c": 0.16752,
    "h": 355.3
  },
  "luminance": 0.21135
}

Semantic roles & 50–950 ramp

primary
#CF528A
secondary
#A5D8C1
accent
#E09C48
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF528A

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

Preview Lab → · Contrast checker → · Palette generator →

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