#CB4798#CB4798

#CB4798 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.4% C 0.187 H 346.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CB4798
RGBrgb(203, 71, 152)
HSLhsl(323, 56%, 54%)
HSVhsv(323, 65%, 80%)
CMYKcmyk(0%, 65%, 25.1%, 20.4%)
CIE-LABlab(51.24, 60.01, -16.69)
CIE-LCHlch(51.24, 62.29, 344.46°)
OKLaboklab(60.42% 0.1813 -0.0441)
OKLCHoklch(60.42% 0.187 346.3)
XYZxyz(32.5506, 19.4733, 31.7441)
Luminance0.1947 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4798 #47CB7A
analogous
#BC47CB #CB4798 #CB4756
triadic
#CB4798 #98CB47 #4798CB
tetradic
#CB4798 #CBBC47 #47CB7A #4756CB
square
#CB4798 #CBBC47 #47CB7A #4756CB
split-complementary
#CB4798 #56CB47 #47CBBC
monochromatic
#762155 #A62F78 #CB4798 #D877B3 #E6A6CD

Accessibility & contrast

On white

4.29
#CB4798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CB4798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4798
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4798#FFFFFF#000000##000000
##CB47981.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#566C9A
Deuteranopia (green-blind)
#7C8295
Tritanopia (blue-blind)
#D84469
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb4798;
/* rgb */ color: rgb(203, 71, 152);
/* oklch */ color: oklch(60.4% 0.187 346.3);
Tailwind
colors: {
  custom: {
    50: '#df83b6',
    500: '#cb4798',
    950: '#000000',
  },
}
SCSS
$custom: #cb4798;
$custom-light: #df83b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4798",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 152
  },
  "hsl": {
    "h": 323.182,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60419,
    "c": 0.18663,
    "h": 346.3
  },
  "luminance": 0.1947
}

Semantic roles & 50–950 ramp

primary
#CB4798
secondary
#9BD3B0
accent
#DF8349
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CB4798

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

Preview Lab → · Contrast checker → · Palette generator →

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