#CB4791#CB4791

#CB4791 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.1% C 0.183 H 349.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CB4791
RGBrgb(203, 71, 145)
HSLhsl(326, 56%, 54%)
HSVhsv(326, 65%, 80%)
CMYKcmyk(0%, 65%, 28.6%, 20.4%)
CIE-LABlab(50.98, 59.11, -12.92)
CIE-LCHlch(50.98, 60.51, 347.67°)
OKLaboklab(60.15% 0.1796 -0.0338)
OKLCHoklch(60.15% 0.183 349.4)
XYZxyz(31.9941, 19.2507, 28.8134)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4791 #47CB81
analogous
#C347CB #CB4791 #CB474F
triadic
#CB4791 #91CB47 #4791CB
tetradic
#CB4791 #CBC347 #47CB81 #474FCB
square
#CB4791 #CBC347 #47CB81 #474FCB
split-complementary
#CB4791 #4FCB47 #47CBC3
monochromatic
#762151 #A62F72 #CB4791 #D877AE #E6A6CA

Accessibility & contrast

On white

4.33
#CB4791 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CB4791 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4791
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4791#FFFFFF#000000##000000
##CB47911.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#596B93
Deuteranopia (green-blind)
#7E828E
Tritanopia (blue-blind)
#D94166
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb4791;
/* rgb */ color: rgb(203, 71, 145);
/* oklch */ color: oklch(60.1% 0.183 349.4);
Tailwind
colors: {
  custom: {
    50: '#df83b1',
    500: '#cb4791',
    950: '#000000',
  },
}
SCSS
$custom: #cb4791;
$custom-light: #df83b1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4791",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 145
  },
  "hsl": {
    "h": 326.364,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60146,
    "c": 0.18274,
    "h": 349.4
  },
  "luminance": 0.19247
}

Semantic roles & 50–950 ramp

primary
#CB4791
secondary
#9BD3B3
accent
#DF8B49
background
#FEF8FA
surface
#FCEFF5
border
#D5CACF
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB4791

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

Preview Lab → · Contrast checker → · Palette generator →

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