#CB4786#CB4786

#CB4786 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.7% C 0.177 H 354.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CB4786
RGBrgb(203, 71, 134)
HSLhsl(331, 56%, 54%)
HSVhsv(331, 65%, 80%)
CMYKcmyk(0%, 65%, 34%, 20.4%)
CIE-LABlab(50.60, 57.78, -6.91)
CIE-LCHlch(50.60, 58.20, 353.18°)
OKLaboklab(59.74% 0.1765 -0.0175)
OKLCHoklch(59.74% 0.177 354.3)
XYZxyz(31.1866, 18.9277, 24.5607)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4786 #47CB8C
analogous
#CB47C8 #CB4786 #CB4A47
triadic
#CB4786 #86CB47 #4786CB
tetradic
#CB4786 #C8CB47 #47CB8C #4A47CB
square
#CB4786 #C8CB47 #47CB8C #4A47CB
split-complementary
#CB4786 #47CB4A #47C8CB
monochromatic
#76214A #A62F68 #CB4786 #D877A5 #E6A6C5

Accessibility & contrast

On white

4.39
#CB4786 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CB4786 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4786
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4786#FFFFFF#000000##000000
##CB47861.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6988
Deuteranopia (green-blind)
#818183
Tritanopia (blue-blind)
#DA3D61
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb4786;
/* rgb */ color: rgb(203, 71, 134);
/* oklch */ color: oklch(59.7% 0.177 354.3);
Tailwind
colors: {
  custom: {
    50: '#df82a9',
    500: '#cb4786',
    950: '#000000',
  },
}
SCSS
$custom: #cb4786;
$custom-light: #df82a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4786",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 331.364,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59744,
    "c": 0.17736,
    "h": 354.3
  },
  "luminance": 0.18924
}

Semantic roles & 50–950 ramp

primary
#CB4786
secondary
#9BD3B8
accent
#DF9749
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CB4786

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

Preview Lab → · Contrast checker → · Palette generator →

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