#CB4BB1#CB4BB1

#CB4BB1 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.9% C 0.198 H 336.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CB4BB1
RGBrgb(203, 75, 177)
HSLhsl(312, 55%, 55%)
HSVhsv(312, 63%, 80%)
CMYKcmyk(0%, 63.1%, 12.8%, 20.4%)
CIE-LABlab(52.85, 61.91, -28.91)
CIE-LCHlch(52.85, 68.32, 334.97°)
OKLaboklab(61.93% 0.1813 -0.0785)
OKLCHoklch(61.93% 0.198 336.6)
XYZxyz(35.0809, 20.9059, 43.7741)
Luminance0.2090 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4BB1 #4BCB65
analogous
#A54BCB #CB4BB1 #CB4B71
triadic
#CB4BB1 #B1CB4B #4BB1CB
tetradic
#CB4BB1 #CBA54B #4BCB65 #4B71CB
square
#CB4BB1 #CBA54B #4BCB65 #4B71CB
split-complementary
#CB4BB1 #71CB4B #4BCBA5
monochromatic
#792367 #A83190 #CB4BB1 #D97AC6 #E6AADA

Accessibility & contrast

On white

4.05
#CB4BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CB4BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4BB1
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4BB1#FFFFFF#000000##000000
##CB4BB11.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B4
Deuteranopia (green-blind)
#7685AE
Tritanopia (blue-blind)
#D55277
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb4bb1;
/* rgb */ color: rgb(203, 75, 177);
/* oklch */ color: oklch(61.9% 0.198 336.6);
Tailwind
colors: {
  custom: {
    50: '#de85c8',
    500: '#cb4bb1',
    950: '#000000',
  },
}
SCSS
$custom: #cb4bb1;
$custom-light: #de85c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4bb1",
  "rgb": {
    "r": 203,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 312.188,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61933,
    "c": 0.19755,
    "h": 336.6
  },
  "luminance": 0.20903
}

Semantic roles & 50–950 ramp

primary
#CB4BB1
secondary
#9ED4A9
accent
#DF6849
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB4BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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