#CB5276#CB5276

#CB5276 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.5% C 0.157 H 4.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CB5276
RGBrgb(203, 82, 118)
HSLhsl(342, 54%, 56%)
HSVhsv(342, 60%, 80%)
CMYKcmyk(0%, 59.6%, 41.9%, 20.4%)
CIE-LABlab(51.89, 51.26, 4.55)
CIE-LCHlch(51.89, 51.46, 5.07°)
OKLaboklab(60.54% 0.1562 0.0123)
OKLCHoklch(60.54% 0.157 4.5)
XYZxyz(30.9179, 20.0426, 19.3764)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5276 #52CBA7
analogous
#CB52B2 #CB5276 #CB6A52
triadic
#CB5276 #76CB52 #5276CB
tetradic
#CB5276 #B2CB52 #52CBA7 #6A52CB
square
#CB5276 #B2CB52 #52CBA7 #6A52CB
split-complementary
#CB5276 #52CB6A #52B2CB
monochromatic
#7D2640 #AC3458 #CB5276 #D9819B #E7B0C1

Accessibility & contrast

On white

4.19
#CB5276 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CB5276 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5276
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5276#FFFFFF#000000##000000
##CB52761.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#696D77
Deuteranopia (green-blind)
#898473
Tritanopia (blue-blind)
#DB4460
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb5276;
/* rgb */ color: rgb(203, 82, 118);
/* oklch */ color: oklch(60.5% 0.157 4.5);
Tailwind
colors: {
  custom: {
    50: '#df889d',
    500: '#cb5276',
    950: '#000000',
  },
}
SCSS
$custom: #cb5276;
$custom-light: #df889d;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5276",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 118
  },
  "hsl": {
    "h": 342.149,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60542,
    "c": 0.15672,
    "h": 4.5
  },
  "luminance": 0.20039
}

Semantic roles & 50–950 ramp

primary
#CB5276
secondary
#A3D5C7
accent
#DDB24B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CB5276

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

Preview Lab → · Contrast checker → · Palette generator →

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