#CB4778#CB4778

#CB4778 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.3% C 0.172 H 1.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CB4778
RGBrgb(203, 71, 120)
HSLhsl(338, 56%, 54%)
HSVhsv(338, 65%, 80%)
CMYKcmyk(0%, 65%, 40.9%, 20.4%)
CIE-LABlab(50.17, 56.24, 0.87)
CIE-LCHlch(50.17, 56.25, 0.88°)
OKLaboklab(59.28% 0.172 0.0029)
OKLCHoklch(59.28% 0.172 1)
XYZxyz(30.2740, 18.5626, 19.7543)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4778 #47CB9A
analogous
#CB47BA #CB4778 #CB5847
triadic
#CB4778 #78CB47 #4778CB
tetradic
#CB4778 #BACB47 #47CB9A #5847CB
square
#CB4778 #BACB47 #47CB9A #5847CB
split-complementary
#CB4778 #47CB58 #47BACB
monochromatic
#762141 #A62F5B #CB4778 #D8779B #E6A6BE

Accessibility & contrast

On white

4.46
#CB4778 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CB4778 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4778
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4778#FFFFFF#000000##000000
##CB47781.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#616779
Deuteranopia (green-blind)
#848175
Tritanopia (blue-blind)
#DB385B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb4778;
/* rgb */ color: rgb(203, 71, 120);
/* oklch */ color: oklch(59.3% 0.172 1.0);
Tailwind
colors: {
  custom: {
    50: '#e0829e',
    500: '#cb4778',
    950: '#000000',
  },
}
SCSS
$custom: #cb4778;
$custom-light: #e0829e;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4778",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 120
  },
  "hsl": {
    "h": 337.727,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59284,
    "c": 0.17201,
    "h": 1
  },
  "luminance": 0.18559
}

Semantic roles & 50–950 ramp

primary
#CB4778
secondary
#9BD3BE
accent
#DFA749
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4778

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

Preview Lab → · Contrast checker → · Palette generator →

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