#CB4BB2#CB4BB2

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

Color values

HEX#CB4BB2
RGBrgb(203, 75, 178)
HSLhsl(312, 55%, 55%)
HSVhsv(312, 63%, 80%)
CMYKcmyk(0%, 63.1%, 12.3%, 20.4%)
CIE-LABlab(52.89, 62.06, -29.42)
CIE-LCHlch(52.89, 68.68, 334.63°)
OKLaboklab(61.98% 0.1815 -0.0799)
OKLCHoklch(61.98% 0.198 336.2)
XYZxyz(35.1810, 20.9459, 44.3009)
Luminance0.2094 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4BB2 #4BCB64
analogous
#A44BCB #CB4BB2 #CB4B72
triadic
#CB4BB2 #B2CB4B #4BB2CB
tetradic
#CB4BB2 #CBA44B #4BCB64 #4B72CB
square
#CB4BB2 #CBA44B #4BCB64 #4B72CB
split-complementary
#CB4BB2 #72CB4B #4BCBA4
monochromatic
#792368 #A83191 #CB4BB2 #D97AC6 #E6AADB

Accessibility & contrast

On white

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

On black

5.19
#CB4BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4BB2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4BB2#FFFFFF#000000##000000
##CB4BB21.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#7585AF
Tritanopia (blue-blind)
#D55278
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb4bb2;
/* rgb */ color: rgb(203, 75, 178);
/* oklch */ color: oklch(62.0% 0.198 336.2);
Tailwind
colors: {
  custom: {
    50: '#de85c9',
    500: '#cb4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #cb4bb2;
$custom-light: #de85c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4bb2",
  "rgb": {
    "r": 203,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 311.719,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61979,
    "c": 0.19828,
    "h": 336.2
  },
  "luminance": 0.20943
}

Semantic roles & 50–950 ramp

primary
#CB4BB2
secondary
#9ED4A8
accent
#DF6649
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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