#CB528E#CB528E

#CB528E is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.3% C 0.166 H 352.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CB528E
RGBrgb(203, 82, 142)
HSLhsl(330, 54%, 56%)
HSVhsv(330, 60%, 80%)
CMYKcmyk(0%, 59.6%, 30%, 20.4%)
CIE-LABlab(52.61, 54.03, -8.69)
CIE-LCHlch(52.61, 54.73, 350.86°)
OKLaboklab(61.31% 0.1642 -0.0224)
OKLCHoklch(61.31% 0.166 352.2)
XYZxyz(32.5299, 20.6874, 27.8658)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB528E #52CB8F
analogous
#CB52CA #CB528E #CB5252
triadic
#CB528E #8ECB52 #528ECB
tetradic
#CB528E #CACB52 #52CB8F #5252CB
square
#CB528E #CACB52 #52CB8F #5252CB
split-complementary
#CB528E #52CB52 #52CACB
monochromatic
#7D2651 #AC346F #CB528E #D981AD #E7B0CB

Accessibility & contrast

On white

4.09
#CB528E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CB528E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB528E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB528E#FFFFFF#000000##000000
##CB528E1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#637090
Deuteranopia (green-blind)
#84868B
Tritanopia (blue-blind)
#D94C6A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb528e;
/* rgb */ color: rgb(203, 82, 142);
/* oklch */ color: oklch(61.3% 0.166 352.2);
Tailwind
colors: {
  custom: {
    50: '#de88af',
    500: '#cb528e',
    950: '#000000',
  },
}
SCSS
$custom: #cb528e;
$custom-light: #de88af;
$custom-dark: #000000;
JSON
{
  "hex": "#cb528e",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 330.248,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61314,
    "c": 0.16571,
    "h": 352.2
  },
  "luminance": 0.20684
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB528E

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

Preview Lab → · Contrast checker → · Palette generator →

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