#CB5A78#CB5A78

#CB5A78 is a mid, vivid pink. Relative luminance 0.214; OKLCH L 61.7% C 0.146 H 5.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CB5A78
RGBrgb(203, 90, 120)
HSLhsl(344, 52%, 57%)
HSVhsv(344, 56%, 80%)
CMYKcmyk(0%, 55.7%, 40.9%, 20.4%)
CIE-LABlab(53.35, 47.74, 5.46)
CIE-LCHlch(53.35, 48.05, 6.53°)
OKLaboklab(61.66% 0.1453 0.0146)
OKLCHoklch(61.66% 0.146 5.8)
XYZxyz(31.6769, 21.3683, 20.2219)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5A78 #5ACBAD
analogous
#CB5AB0 #CB5A78 #CB755A
triadic
#CB5A78 #78CB5A #5A78CB
tetradic
#CB5A78 #B0CB5A #5ACBAD #755ACB
square
#CB5A78 #B0CB5A #5ACBAD #755ACB
split-complementary
#CB5A78 #5ACB75 #5AB0CB
monochromatic
#822940 #B03858 #CB5A78 #DA899E #E8B7C4

Accessibility & contrast

On white

3.98
#CB5A78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CB5A78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5A78
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5A78#FFFFFF#000000##000000
##CB5A781.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7279
Deuteranopia (green-blind)
#8D8875
Tritanopia (blue-blind)
#DB4E65
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb5a78;
/* rgb */ color: rgb(203, 90, 120);
/* oklch */ color: oklch(61.7% 0.146 5.8);
Tailwind
colors: {
  custom: {
    50: '#df8d9e',
    500: '#cb5a78',
    950: '#000000',
  },
}
SCSS
$custom: #cb5a78;
$custom-light: #df8d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5a78",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 120
  },
  "hsl": {
    "h": 344.071,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61656,
    "c": 0.14598,
    "h": 5.8
  },
  "luminance": 0.21365
}

Semantic roles & 50–950 ramp

primary
#CB5A78
secondary
#AAD7CB
accent
#DCB54C
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CB5A78

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

Preview Lab → · Contrast checker → · Palette generator →

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