#CB548E#CB548E

#CB548E is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.6% C 0.163 H 352.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CB548E
RGBrgb(203, 84, 142)
HSLhsl(331, 53%, 56%)
HSVhsv(331, 59%, 80%)
CMYKcmyk(0%, 58.6%, 30%, 20.4%)
CIE-LABlab(52.94, 53.13, -8.19)
CIE-LCHlch(52.94, 53.76, 351.24°)
OKLaboklab(61.57% 0.1614 -0.021)
OKLCHoklch(61.57% 0.163 352.6)
XYZxyz(32.6829, 20.9934, 27.9168)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB548E #54CB91
analogous
#CB54CA #CB548E #CB5654
triadic
#CB548E #8ECB54 #548ECB
tetradic
#CB548E #CACB54 #54CB91 #5654CB
square
#CB548E #CACB54 #54CB91 #5654CB
split-complementary
#CB548E #54CB56 #54CACB
monochromatic
#7E2651 #AD356F #CB548E #D983AD #E8B2CC

Accessibility & contrast

On white

4.04
#CB548E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CB548E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB548E
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB548E#FFFFFF#000000##000000
##CB548E1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#657190
Deuteranopia (green-blind)
#85868B
Tritanopia (blue-blind)
#D94E6B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb548e;
/* rgb */ color: rgb(203, 84, 142);
/* oklch */ color: oklch(61.6% 0.163 352.6);
Tailwind
colors: {
  custom: {
    50: '#de8aaf',
    500: '#cb548e',
    950: '#000000',
  },
}
SCSS
$custom: #cb548e;
$custom-light: #de8aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb548e",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 330.756,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61565,
    "c": 0.16276,
    "h": 352.6
  },
  "luminance": 0.2099
}

Semantic roles & 50–950 ramp

primary
#CB548E
secondary
#A5D6BE
accent
#DD964B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB548E

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

Preview Lab → · Contrast checker → · Palette generator →

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