#CB4BAB#CB4BAB

#CB4BAB is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.7% C 0.193 H 338.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CB4BAB
RGBrgb(203, 75, 171)
HSLhsl(315, 55%, 55%)
HSVhsv(315, 63%, 80%)
CMYKcmyk(0%, 63.1%, 15.8%, 20.4%)
CIE-LABlab(52.59, 61.01, -25.81)
CIE-LCHlch(52.59, 66.25, 337.07°)
OKLaboklab(61.66% 0.1803 -0.0696)
OKLCHoklch(61.66% 0.193 338.9)
XYZxyz(34.4960, 20.6719, 40.6935)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4BAB #4BCB6B
analogous
#AB4BCB #CB4BAB #CB4B6B
triadic
#CB4BAB #ABCB4B #4BABCB
tetradic
#CB4BAB #CBAB4B #4BCB6B #4B6BCB
square
#CB4BAB #CBAB4B #4BCB6B #4B6BCB
split-complementary
#CB4BAB #6BCB4B #4BCBAB
monochromatic
#792363 #A8318A #CB4BAB #D97AC1 #E6AAD7

Accessibility & contrast

On white

4.09
#CB4BAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#CB4BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4BAB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4BAB#FFFFFF#000000##000000
##CB4BAB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5171AE
Deuteranopia (green-blind)
#7885A8
Tritanopia (blue-blind)
#D64F74
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb4bab;
/* rgb */ color: rgb(203, 75, 171);
/* oklch */ color: oklch(61.7% 0.193 338.9);
Tailwind
colors: {
  custom: {
    50: '#de85c4',
    500: '#cb4bab',
    950: '#000000',
  },
}
SCSS
$custom: #cb4bab;
$custom-light: #de85c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4bab",
  "rgb": {
    "r": 203,
    "g": 75,
    "b": 171
  },
  "hsl": {
    "h": 315,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6166,
    "c": 0.1933,
    "h": 338.9
  },
  "luminance": 0.20669
}

Semantic roles & 50–950 ramp

primary
#CB4BAB
secondary
#9ED4AB
accent
#DF6F49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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