#CB527F#CB527F

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

Color values

HEX#CB527F
RGBrgb(203, 82, 127)
HSLhsl(338, 54%, 56%)
HSVhsv(338, 60%, 80%)
CMYKcmyk(0%, 59.6%, 37.4%, 20.4%)
CIE-LABlab(52.14, 52.24, -0.46)
CIE-LCHlch(52.14, 52.24, 359.49°)
OKLaboklab(60.81% 0.1594 -0.0006)
OKLCHoklch(60.81% 0.159 359.8)
XYZxyz(31.4785, 20.2668, 22.3287)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB527F #52CB9E
analogous
#CB52BB #CB527F #CB6152
triadic
#CB527F #7FCB52 #527FCB
tetradic
#CB527F #BBCB52 #52CB9E #6152CB
square
#CB527F #BBCB52 #52CB9E #6152CB
split-complementary
#CB527F #52CB61 #52BBCB
monochromatic
#7D2646 #AC3460 #CB527F #D981A2 #E7B0C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB527F#FFFFFF#000000##000000
##CB527F1.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)
#676E80
Deuteranopia (green-blind)
#87857C
Tritanopia (blue-blind)
#DB4763
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb527f;
/* rgb */ color: rgb(203, 82, 127);
/* oklch */ color: oklch(60.8% 0.159 359.8);
Tailwind
colors: {
  custom: {
    50: '#df88a4',
    500: '#cb527f',
    950: '#000000',
  },
}
SCSS
$custom: #cb527f;
$custom-light: #df88a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb527f",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 127
  },
  "hsl": {
    "h": 337.686,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60813,
    "c": 0.15939,
    "h": 359.8
  },
  "luminance": 0.20263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB527F

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

Preview Lab → · Contrast checker → · Palette generator →

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