#CB548B#CB548B

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

Color values

HEX#CB548B
RGBrgb(203, 84, 139)
HSLhsl(332, 53%, 56%)
HSVhsv(332, 59%, 80%)
CMYKcmyk(0%, 58.6%, 31.5%, 20.4%)
CIE-LABlab(52.84, 52.75, -6.56)
CIE-LCHlch(52.84, 53.16, 352.91°)
OKLaboklab(61.46% 0.1605 -0.0167)
OKLCHoklch(61.46% 0.161 354.1)
XYZxyz(32.4607, 20.9045, 26.7465)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB548B #54CB94
analogous
#CB54C7 #CB548B #CB5954
triadic
#CB548B #8BCB54 #548BCB
tetradic
#CB548B #C7CB54 #54CB94 #5954CB
square
#CB548B #C7CB54 #54CB94 #5954CB
split-complementary
#CB548B #54CB59 #54C7CB
monochromatic
#7E264F #AD356C #CB548B #D983AB #E8B2CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB548B#FFFFFF#000000##000000
##CB548B1.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)
#65718D
Deuteranopia (green-blind)
#868688
Tritanopia (blue-blind)
#D94D69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb548b;
/* rgb */ color: rgb(203, 84, 139);
/* oklch */ color: oklch(61.5% 0.161 354.1);
Tailwind
colors: {
  custom: {
    50: '#de8aac',
    500: '#cb548b',
    950: '#000000',
  },
}
SCSS
$custom: #cb548b;
$custom-light: #de8aac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb548b",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 332.269,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6146,
    "c": 0.16134,
    "h": 354.1
  },
  "luminance": 0.20901
}

Semantic roles & 50–950 ramp

primary
#CB548B
secondary
#A5D6BF
accent
#DD994B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB548B

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

Preview Lab → · Contrast checker → · Palette generator →

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