#CF528B#CF528B

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

Color values

HEX#CF528B
RGBrgb(207, 82, 139)
HSLhsl(333, 57%, 57%)
HSVhsv(333, 60%, 81%)
CMYKcmyk(0%, 60.4%, 32.9%, 18.8%)
CIE-LABlab(53.13, 54.89, -6.06)
CIE-LCHlch(53.13, 55.22, 353.70°)
OKLaboklab(61.8% 0.1673 -0.0153)
OKLCHoklch(61.8% 0.168 354.8)
XYZxyz(33.4113, 21.1676, 26.7473)
Luminance0.2116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF528B #52CF96
analogous
#CF52CA #CF528B #CF5852
triadic
#CF528B #8BCF52 #528BCF
tetradic
#CF528B #CACF52 #52CF96 #5852CF
square
#CF528B #CACF52 #52CF96 #5852CF
split-complementary
#CF528B #52CF58 #52CACF
monochromatic
#82244F #B2316C #CF528B #DC82AB #EAB2CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF528B#FFFFFF#000000##000000
##CF528B1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#65708D
Deuteranopia (green-blind)
#878788
Tritanopia (blue-blind)
#DE4A68
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf528b;
/* rgb */ color: rgb(207, 82, 139);
/* oklch */ color: oklch(61.8% 0.168 354.8);
Tailwind
colors: {
  custom: {
    50: '#e189ac',
    500: '#cf528b',
    950: '#000000',
  },
}
SCSS
$custom: #cf528b;
$custom-light: #e189ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf528b",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 139
  },
  "hsl": {
    "h": 332.64,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61796,
    "c": 0.16796,
    "h": 354.8
  },
  "luminance": 0.21164
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF528B

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

Preview Lab → · Contrast checker → · Palette generator →

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