#CB4796#CB4796

#CB4796 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.3% C 0.185 H 347.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CB4796
RGBrgb(203, 71, 150)
HSLhsl(324, 56%, 54%)
HSVhsv(324, 65%, 80%)
CMYKcmyk(0%, 65%, 26.1%, 20.4%)
CIE-LABlab(51.16, 59.75, -15.62)
CIE-LCHlch(51.16, 61.75, 345.35°)
OKLaboklab(60.34% 0.1809 -0.0412)
OKLCHoklch(60.34% 0.185 347.2)
XYZxyz(32.3882, 19.4083, 30.8887)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4796 #47CB7C
analogous
#BE47CB #CB4796 #CB4754
triadic
#CB4796 #96CB47 #4796CB
tetradic
#CB4796 #CBBE47 #47CB7C #4754CB
square
#CB4796 #CBBE47 #47CB7C #4754CB
split-complementary
#CB4796 #54CB47 #47CBBE
monochromatic
#762154 #A62F76 #CB4796 #D877B1 #E6A6CC

Accessibility & contrast

On white

4.30
#CB4796 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CB4796 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4796
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4796#FFFFFF#000000##000000
##CB47961.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#576B98
Deuteranopia (green-blind)
#7D8293
Tritanopia (blue-blind)
#D94368
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb4796;
/* rgb */ color: rgb(203, 71, 150);
/* oklch */ color: oklch(60.3% 0.185 347.2);
Tailwind
colors: {
  custom: {
    50: '#df83b5',
    500: '#cb4796',
    950: '#000000',
  },
}
SCSS
$custom: #cb4796;
$custom-light: #df83b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4796",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 150
  },
  "hsl": {
    "h": 324.091,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6034,
    "c": 0.18549,
    "h": 347.2
  },
  "luminance": 0.19405
}

Semantic roles & 50–950 ramp

primary
#CB4796
secondary
#9BD3B1
accent
#DF8549
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CB4796

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

Preview Lab → · Contrast checker → · Palette generator →

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