#CB4C8B#CB4C8B

#CB4C8B is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.5% C 0.173 H 352.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CB4C8B
RGBrgb(203, 76, 139)
HSLhsl(330, 55%, 55%)
HSVhsv(330, 63%, 80%)
CMYKcmyk(0%, 62.6%, 31.5%, 20.4%)
CIE-LABlab(51.53, 56.29, -8.51)
CIE-LCHlch(51.53, 56.93, 351.40°)
OKLaboklab(60.49% 0.1715 -0.0218)
OKLCHoklch(60.49% 0.173 352.7)
XYZxyz(31.8748, 19.7328, 26.5513)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4C8B #4CCB8C
analogous
#CB4CCB #CB4C8B #CB4D4C
triadic
#CB4C8B #8BCB4C #4C8BCB
tetradic
#CB4C8B #CBCB4C #4CCB8C #4D4CCB
square
#CB4C8B #CBCB4C #4CCB8C #4D4CCB
split-complementary
#CB4C8B #4CCB4D #4CCBCB
monochromatic
#79234E #A9316C #CB4C8B #D97BAA #E7ABC8

Accessibility & contrast

On white

4.25
#CB4C8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CB4C8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4C8B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4C8B#FFFFFF#000000##000000
##CB4C8B1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8D
Deuteranopia (green-blind)
#828388
Tritanopia (blue-blind)
#DA4465
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb4c8b;
/* rgb */ color: rgb(203, 76, 139);
/* oklch */ color: oklch(60.5% 0.173 352.7);
Tailwind
colors: {
  custom: {
    50: '#df85ac',
    500: '#cb4c8b',
    950: '#000000',
  },
}
SCSS
$custom: #cb4c8b;
$custom-light: #df85ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4c8b",
  "rgb": {
    "r": 203,
    "g": 76,
    "b": 139
  },
  "hsl": {
    "h": 330.236,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60487,
    "c": 0.17284,
    "h": 352.7
  },
  "luminance": 0.19729
}

Semantic roles & 50–950 ramp

primary
#CB4C8B
secondary
#9FD4BA
accent
#DE9449
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB4C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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