#CF528C#CF528C

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

Color values

HEX#CF528C
RGBrgb(207, 82, 140)
HSLhsl(332, 57%, 57%)
HSVhsv(332, 60%, 81%)
CMYKcmyk(0%, 60.4%, 32.4%, 18.8%)
CIE-LABlab(53.16, 55.01, -6.61)
CIE-LCHlch(53.16, 55.41, 353.15°)
OKLaboklab(61.83% 0.1676 -0.0168)
OKLCHoklch(61.83% 0.168 354.3)
XYZxyz(33.4847, 21.1969, 27.1338)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF528C #52CF95
analogous
#CF52CB #CF528C #CF5752
triadic
#CF528C #8CCF52 #528CCF
tetradic
#CF528C #CBCF52 #52CF95 #5752CF
square
#CF528C #CBCF52 #52CF95 #5752CF
split-complementary
#CF528C #52CF57 #52CBCF
monochromatic
#822450 #B2316D #CF528C #DC82AC #EAB2CC

Accessibility & contrast

On white

4.01
#CF528C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#CF528C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF528C
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF528C#FFFFFF#000000##000000
##CF528C1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#65718E
Deuteranopia (green-blind)
#878789
Tritanopia (blue-blind)
#DE4A69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf528c;
/* rgb */ color: rgb(207, 82, 140);
/* oklch */ color: oklch(61.8% 0.168 354.3);
Tailwind
colors: {
  custom: {
    50: '#e189ad',
    500: '#cf528c',
    950: '#000000',
  },
}
SCSS
$custom: #cf528c;
$custom-light: #e189ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cf528c",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 332.16,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6183,
    "c": 0.16841,
    "h": 354.3
  },
  "luminance": 0.21193
}

Semantic roles & 50–950 ramp

primary
#CF528C
secondary
#A5D8C0
accent
#E09948
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF528C

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

Preview Lab → · Contrast checker → · Palette generator →

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