#CB3778#CB3778

#CB3778 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.7% C 0.191 H 358.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CB3778
RGBrgb(203, 55, 120)
HSLhsl(334, 59%, 51%)
HSVhsv(334, 73%, 80%)
CMYKcmyk(0%, 72.9%, 40.9%, 20.4%)
CIE-LABlab(47.99, 62.27, -2.32)
CIE-LCHlch(47.99, 62.31, 357.86°)
OKLaboklab(57.68% 0.1911 -0.0053)
OKLCHoklch(57.68% 0.191 358.4)
XYZxyz(29.3871, 16.7887, 19.4587)
Luminance0.1678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3778 #37CB8A
analogous
#CB37C2 #CB3778 #CB4037
triadic
#CB3778 #78CB37 #3778CB
tetradic
#CB3778 #C2CB37 #37CB8A #4037CB
square
#CB3778 #C2CB37 #37CB8A #4037CB
split-complementary
#CB3778 #37CB40 #37C2CB
monochromatic
#6C1C3F #9C295B #CB3778 #D86899 #E498BA

Accessibility & contrast

On white

4.82
#CB3778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#CB3778 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3778
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3778#FFFFFF#000000##FFFFFF
##CB37781.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56607A
Deuteranopia (green-blind)
#7E7C75
Tritanopia (blue-blind)
#DC2353
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cb3778;
/* rgb */ color: rgb(203, 55, 120);
/* oklch */ color: oklch(57.7% 0.191 358.4);
Tailwind
colors: {
  custom: {
    50: '#e07a9e',
    500: '#cb3778',
    950: '#000000',
  },
}
SCSS
$custom: #cb3778;
$custom-light: #e07a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3778",
  "rgb": {
    "r": 203,
    "g": 55,
    "b": 120
  },
  "hsl": {
    "h": 333.649,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57675,
    "c": 0.19119,
    "h": 358.4
  },
  "luminance": 0.16785
}

Semantic roles & 50–950 ramp

primary
#CB3778
secondary
#8ED0B3
accent
#E29D46
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CB3778

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

Preview Lab → · Contrast checker → · Palette generator →

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