#CB4080#CB4080

#CB4080 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.8% C 0.184 H 356.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#CB4080
RGBrgb(203, 64, 128)
HSLhsl(332, 57%, 52%)
HSVhsv(332, 68%, 80%)
CMYKcmyk(0%, 68.5%, 36.9%, 20.4%)
CIE-LABlab(49.41, 59.87, -5.09)
CIE-LCHlch(49.41, 60.08, 355.14°)
OKLaboklab(58.8% 0.1834 -0.0126)
OKLCHoklch(58.8% 0.184 356.1)
XYZxyz(30.3602, 17.9254, 22.2790)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4080 #40CB8B
analogous
#CB40C6 #CB4080 #CB4540
triadic
#CB4080 #80CB40 #4080CB
tetradic
#CB4080 #C6CB40 #40CB8B #4540CB
square
#CB4080 #C6CB40 #40CB8B #4540CB
split-complementary
#CB4080 #40CB45 #40C6CB
monochromatic
#721F45 #A22C62 #CB4080 #D870A0 #E5A0C0

Accessibility & contrast

On white

4.58
#CB4080 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#CB4080 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4080
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4080#FFFFFF#000000##000000
##CB40801.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#596582
Deuteranopia (green-blind)
#807F7D
Tritanopia (blue-blind)
#DB335B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cb4080;
/* rgb */ color: rgb(203, 64, 128);
/* oklch */ color: oklch(58.8% 0.184 356.1);
Tailwind
colors: {
  custom: {
    50: '#df7fa4',
    500: '#cb4080',
    950: '#000000',
  },
}
SCSS
$custom: #cb4080;
$custom-light: #df7fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4080",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 128
  },
  "hsl": {
    "h": 332.374,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58797,
    "c": 0.18378,
    "h": 356.1
  },
  "luminance": 0.17922
}

Semantic roles & 50–950 ramp

primary
#CB4080
secondary
#95D2B6
accent
#E09A47
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CB4080

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

Preview Lab → · Contrast checker → · Palette generator →

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