#CB2BAB#CB2BAB

#CB2BAB is a mid, highly saturated pink. Relative luminance 0.174; OKLCH L 58.9% C 0.230 H 337.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CB2BAB
RGBrgb(203, 43, 171)
HSLhsl(312, 65%, 48%)
HSVhsv(312, 79%, 80%)
CMYKcmyk(0%, 78.8%, 15.8%, 20.4%)
CIE-LABlab(48.72, 71.90, -31.82)
CIE-LCHlch(48.72, 78.63, 336.13°)
OKLaboklab(58.85% 0.213 -0.0865)
OKLCHoklch(58.85% 0.23 337.9)
XYZxyz(32.8439, 17.3678, 40.1428)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB2BAB #2BCB4B
analogous
#9B2BCB #CB2BAB #CB2B5B
triadic
#CB2BAB #ABCB2B #2BABCB
tetradic
#CB2BAB #CB9B2B #2BCB4B #2B5BCB
square
#CB2BAB #CB9B2B #2BCB4B #2B5BCB
split-complementary
#CB2BAB #5BCB2B #2BCB9B
monochromatic
#661656 #982080 #CB2BAB #DC58C1 #E68AD4

Accessibility & contrast

On white

4.69
#CB2BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#CB2BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB2BAB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB2BAB#FFFFFF#000000##FFFFFF
##CB2BAB1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3364AE
Deuteranopia (green-blind)
#6B7CA7
Tritanopia (blue-blind)
#D6356A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cb2bab;
/* rgb */ color: rgb(203, 43, 171);
/* oklch */ color: oklch(58.9% 0.230 337.9);
Tailwind
colors: {
  custom: {
    50: '#df77c4',
    500: '#cb2bab',
    950: '#000000',
  },
}
SCSS
$custom: #cb2bab;
$custom-light: #df77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb2bab",
  "rgb": {
    "r": 203,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 312,
    "s": 65.041,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58853,
    "c": 0.22989,
    "h": 337.9
  },
  "luminance": 0.17365
}

Semantic roles & 50–950 ramp

primary
#CB2BAB
secondary
#82D091
accent
#E86140
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #CB2BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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