#CB527E#CB527E

#CB527E is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.8% C 0.159 H 0.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CB527E
RGBrgb(203, 82, 126)
HSLhsl(338, 54%, 56%)
HSVhsv(338, 60%, 80%)
CMYKcmyk(0%, 59.6%, 37.9%, 20.4%)
CIE-LABlab(52.11, 52.13, 0.09)
CIE-LCHlch(52.11, 52.13, 0.10°)
OKLaboklab(60.78% 0.1591 0.0009)
OKLCHoklch(60.78% 0.159 0.3)
XYZxyz(31.4137, 20.2409, 21.9872)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB527E #52CB9F
analogous
#CB52BA #CB527E #CB6252
triadic
#CB527E #7ECB52 #527ECB
tetradic
#CB527E #BACB52 #52CB9F #6252CB
square
#CB527E #BACB52 #52CB9F #6252CB
split-complementary
#CB527E #52CB62 #52BACB
monochromatic
#7D2645 #AC345F #CB527E #D981A1 #E7B0C4

Accessibility & contrast

On white

4.16
#CB527E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CB527E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB527E
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB527E#FFFFFF#000000##000000
##CB527E1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#676E7F
Deuteranopia (green-blind)
#88857B
Tritanopia (blue-blind)
#DB4763
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb527e;
/* rgb */ color: rgb(203, 82, 126);
/* oklch */ color: oklch(60.8% 0.159 0.3);
Tailwind
colors: {
  custom: {
    50: '#df88a3',
    500: '#cb527e',
    950: '#000000',
  },
}
SCSS
$custom: #cb527e;
$custom-light: #df88a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb527e",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 126
  },
  "hsl": {
    "h": 338.182,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60781,
    "c": 0.15905,
    "h": 0.3
  },
  "luminance": 0.20237
}

Semantic roles & 50–950 ramp

primary
#CB527E
secondary
#A3D5C3
accent
#DDA84B
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB527E

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

Preview Lab → · Contrast checker → · Palette generator →

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