#CB528C#CB528C

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

Color values

HEX#CB528C
RGBrgb(203, 82, 140)
HSLhsl(331, 54%, 56%)
HSVhsv(331, 60%, 80%)
CMYKcmyk(0%, 59.6%, 31%, 20.4%)
CIE-LABlab(52.54, 53.78, -7.61)
CIE-LCHlch(52.54, 54.32, 351.95°)
OKLaboklab(61.24% 0.1636 -0.0194)
OKLCHoklch(61.24% 0.165 353.2)
XYZxyz(32.3810, 20.6278, 27.0821)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB528C #52CB91
analogous
#CB52C8 #CB528C #CB5452
triadic
#CB528C #8CCB52 #528CCB
tetradic
#CB528C #C8CB52 #52CB91 #5452CB
square
#CB528C #C8CB52 #52CB91 #5452CB
split-complementary
#CB528C #52CB54 #52C8CB
monochromatic
#7D264F #AC346D #CB528C #D981AB #E7B0CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB528C#FFFFFF#000000##000000
##CB528C1.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)
#63708E
Deuteranopia (green-blind)
#848589
Tritanopia (blue-blind)
#D94B69
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb528c;
/* rgb */ color: rgb(203, 82, 140);
/* oklch */ color: oklch(61.2% 0.165 353.2);
Tailwind
colors: {
  custom: {
    50: '#de88ad',
    500: '#cb528c',
    950: '#000000',
  },
}
SCSS
$custom: #cb528c;
$custom-light: #de88ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cb528c",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 331.24,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61244,
    "c": 0.16474,
    "h": 353.2
  },
  "luminance": 0.20625
}

Semantic roles & 50–950 ramp

primary
#CB528C
secondary
#A3D5BD
accent
#DD974B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB528C

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

Preview Lab → · Contrast checker → · Palette generator →

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