#CB4078#CB4078

#CB4078 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.5% C 0.181 H 359.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CB4078
RGBrgb(203, 64, 120)
HSLhsl(336, 57%, 52%)
HSVhsv(336, 68%, 80%)
CMYKcmyk(0%, 68.5%, 40.9%, 20.4%)
CIE-LABlab(49.16, 59.02, -0.61)
CIE-LCHlch(49.16, 59.03, 359.41°)
OKLaboklab(58.53% 0.1808 -0.0009)
OKLCHoklch(58.53% 0.181 359.7)
XYZxyz(29.8542, 17.7230, 19.6144)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4078 #40CB93
analogous
#CB40BE #CB4078 #CB4D40
triadic
#CB4078 #78CB40 #4078CB
tetradic
#CB4078 #BECB40 #40CB93 #4D40CB
square
#CB4078 #BECB40 #40CB93 #4D40CB
split-complementary
#CB4078 #40CB4D #40BECB
monochromatic
#721F40 #A22C5B #CB4078 #D8709A #E5A0BC

Accessibility & contrast

On white

4.62
#CB4078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#CB4078 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CB4078
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4078#FFFFFF#000000##FFFFFF
##CB40781.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6479
Deuteranopia (green-blind)
#817F75
Tritanopia (blue-blind)
#DC2F57
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cb4078;
/* rgb */ color: rgb(203, 64, 120);
/* oklch */ color: oklch(58.5% 0.181 359.7);
Tailwind
colors: {
  custom: {
    50: '#e07e9e',
    500: '#cb4078',
    950: '#000000',
  },
}
SCSS
$custom: #cb4078;
$custom-light: #e07e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4078",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 335.827,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58534,
    "c": 0.1808,
    "h": 359.7
  },
  "luminance": 0.17719
}

Semantic roles & 50–950 ramp

primary
#CB4078
secondary
#95D2B9
accent
#E0A347
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4078

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

Preview Lab → · Contrast checker → · Palette generator →

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