#CB4C8E#CB4C8E

#CB4C8E is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.6% C 0.174 H 351.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CB4C8E
RGBrgb(203, 76, 142)
HSLhsl(329, 55%, 55%)
HSVhsv(329, 63%, 80%)
CMYKcmyk(0%, 62.6%, 30%, 20.4%)
CIE-LABlab(51.63, 56.66, -10.15)
CIE-LCHlch(51.63, 57.56, 349.85°)
OKLaboklab(60.6% 0.1723 -0.0263)
OKLCHoklch(60.6% 0.174 351.3)
XYZxyz(32.0970, 19.8217, 27.7216)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4C8E #4CCB89
analogous
#C84CCB #CB4C8E #CB4C4F
triadic
#CB4C8E #8ECB4C #4C8ECB
tetradic
#CB4C8E #CBC84C #4CCB89 #4C4FCB
square
#CB4C8E #CBC84C #4CCB89 #4C4FCB
split-complementary
#CB4C8E #4FCB4C #4CCBC8
monochromatic
#792350 #A9316F #CB4C8E #D97BAC #E7ABCA

Accessibility & contrast

On white

4.23
#CB4C8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CB4C8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4C8E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4C8E#FFFFFF#000000##000000
##CB4C8E1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6D90
Deuteranopia (green-blind)
#81838B
Tritanopia (blue-blind)
#D94567
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb4c8e;
/* rgb */ color: rgb(203, 76, 142);
/* oklch */ color: oklch(60.6% 0.174 351.3);
Tailwind
colors: {
  custom: {
    50: '#df85af',
    500: '#cb4c8e',
    950: '#000000',
  },
}
SCSS
$custom: #cb4c8e;
$custom-light: #df85af;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4c8e",
  "rgb": {
    "r": 203,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 328.819,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60595,
    "c": 0.17431,
    "h": 351.3
  },
  "luminance": 0.19818
}

Semantic roles & 50–950 ramp

primary
#CB4C8E
secondary
#9FD4B8
accent
#DE9149
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB4C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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