#CB5078#CB5078

#CB5078 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.3% C 0.160 H 2.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CB5078
RGBrgb(203, 80, 120)
HSLhsl(340, 54%, 55%)
HSVhsv(340, 61%, 80%)
CMYKcmyk(0%, 60.6%, 40.9%, 20.4%)
CIE-LABlab(51.60, 52.37, 2.94)
CIE-LCHlch(51.60, 52.46, 3.22°)
OKLaboklab(60.35% 0.1598 0.0082)
OKLCHoklch(60.35% 0.16 2.9)
XYZxyz(30.8894, 19.7934, 19.9595)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5078 #50CBA3
analogous
#CB50B5 #CB5078 #CB6550
triadic
#CB5078 #78CB50 #5078CB
tetradic
#CB5078 #B5CB50 #50CBA3 #6550CB
square
#CB5078 #B5CB50 #50CBA3 #6550CB
split-complementary
#CB5078 #50CB65 #50B5CB
monochromatic
#7C2541 #AB335A #CB5078 #D97F9C #E7AEC1

Accessibility & contrast

On white

4.24
#CB5078 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CB5078 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5078
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5078#FFFFFF#000000##000000
##CB50781.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#676C79
Deuteranopia (green-blind)
#888475
Tritanopia (blue-blind)
#DB435F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb5078;
/* rgb */ color: rgb(203, 80, 120);
/* oklch */ color: oklch(60.3% 0.160 2.9);
Tailwind
colors: {
  custom: {
    50: '#df879e',
    500: '#cb5078',
    950: '#000000',
  },
}
SCSS
$custom: #cb5078;
$custom-light: #df879e;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5078",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 120
  },
  "hsl": {
    "h": 340.488,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60349,
    "c": 0.15999,
    "h": 2.9
  },
  "luminance": 0.1979
}

Semantic roles & 50–950 ramp

primary
#CB5078
secondary
#A2D5C4
accent
#DEAE4A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CB5078

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

Preview Lab → · Contrast checker → · Palette generator →

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