#CB528B#CB528B

#CB528B is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.2% C 0.164 H 353.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CB528B
RGBrgb(203, 82, 139)
HSLhsl(332, 54%, 56%)
HSVhsv(332, 60%, 80%)
CMYKcmyk(0%, 59.6%, 31.5%, 20.4%)
CIE-LABlab(52.51, 53.66, -7.06)
CIE-LCHlch(52.51, 54.12, 352.50°)
OKLaboklab(61.21% 0.1633 -0.018)
OKLCHoklch(61.21% 0.164 353.7)
XYZxyz(32.3076, 20.5985, 26.6955)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB528B #52CB92
analogous
#CB52C7 #CB528B #CB5552
triadic
#CB528B #8BCB52 #528BCB
tetradic
#CB528B #C7CB52 #52CB92 #5552CB
square
#CB528B #C7CB52 #52CB92 #5552CB
split-complementary
#CB528B #52CB55 #52C7CB
monochromatic
#7D264F #AC346C #CB528B #D981AB #E7B0CA

Accessibility & contrast

On white

4.10
#CB528B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CB528B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB528B
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB528B#FFFFFF#000000##000000
##CB528B1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#646F8D
Deuteranopia (green-blind)
#858588
Tritanopia (blue-blind)
#D94B68
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb528b;
/* rgb */ color: rgb(203, 82, 139);
/* oklch */ color: oklch(61.2% 0.164 353.7);
Tailwind
colors: {
  custom: {
    50: '#de88ac',
    500: '#cb528b',
    950: '#000000',
  },
}
SCSS
$custom: #cb528b;
$custom-light: #de88ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb528b",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 139
  },
  "hsl": {
    "h": 331.736,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61209,
    "c": 0.16427,
    "h": 353.7
  },
  "luminance": 0.20595
}

Semantic roles & 50–950 ramp

primary
#CB528B
secondary
#A3D5BE
accent
#DD984B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB528B

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

Preview Lab → · Contrast checker → · Palette generator →

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