#CB528A#CB528A

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

Color values

HEX#CB528A
RGBrgb(203, 82, 138)
HSLhsl(332, 54%, 56%)
HSVhsv(332, 60%, 80%)
CMYKcmyk(0%, 59.6%, 32%, 20.4%)
CIE-LABlab(52.48, 53.53, -6.51)
CIE-LCHlch(52.48, 53.93, 353.06°)
OKLaboklab(61.17% 0.163 -0.0165)
OKLCHoklch(61.17% 0.164 354.2)
XYZxyz(32.2349, 20.5694, 26.3125)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB528A #52CB93
analogous
#CB52C7 #CB528A #CB5652
triadic
#CB528A #8ACB52 #528ACB
tetradic
#CB528A #C7CB52 #52CB93 #5652CB
square
#CB528A #C7CB52 #52CB93 #5652CB
split-complementary
#CB528A #52CB56 #52C7CB
monochromatic
#7D264E #AC346B #CB528A #D981AA #E7B0CA

Accessibility & contrast

On white

4.11
#CB528A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CB528A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB528A
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB528A#FFFFFF#000000##000000
##CB528A1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#646F8C
Deuteranopia (green-blind)
#858587
Tritanopia (blue-blind)
#DA4A68
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb528a;
/* rgb */ color: rgb(203, 82, 138);
/* oklch */ color: oklch(61.2% 0.164 354.2);
Tailwind
colors: {
  custom: {
    50: '#de88ac',
    500: '#cb528a',
    950: '#000000',
  },
}
SCSS
$custom: #cb528a;
$custom-light: #de88ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb528a",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 138
  },
  "hsl": {
    "h": 332.231,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61174,
    "c": 0.16381,
    "h": 354.2
  },
  "luminance": 0.20566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB528A

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

Preview Lab → · Contrast checker → · Palette generator →

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