#CB548A#CB548A

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

Color values

HEX#CB548A
RGBrgb(203, 84, 138)
HSLhsl(333, 53%, 56%)
HSVhsv(333, 59%, 80%)
CMYKcmyk(0%, 58.6%, 32%, 20.4%)
CIE-LABlab(52.81, 52.63, -6.01)
CIE-LCHlch(52.81, 52.97, 353.48°)
OKLaboklab(61.43% 0.1602 -0.0152)
OKLCHoklch(61.43% 0.161 354.6)
XYZxyz(32.3879, 20.8754, 26.3635)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB548A #54CB95
analogous
#CB54C6 #CB548A #CB5A54
triadic
#CB548A #8ACB54 #548ACB
tetradic
#CB548A #C6CB54 #54CB95 #5A54CB
square
#CB548A #C6CB54 #54CB95 #5A54CB
split-complementary
#CB548A #54CB5A #54C6CB
monochromatic
#7E264E #AD356B #CB548A #D983AA #E8B2CA

Accessibility & contrast

On white

4.06
#CB548A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CB548A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB548A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB548A#FFFFFF#000000##000000
##CB548A1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#66708C
Deuteranopia (green-blind)
#868687
Tritanopia (blue-blind)
#DA4C69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb548a;
/* rgb */ color: rgb(203, 84, 138);
/* oklch */ color: oklch(61.4% 0.161 354.6);
Tailwind
colors: {
  custom: {
    50: '#de89ac',
    500: '#cb548a',
    950: '#000000',
  },
}
SCSS
$custom: #cb548a;
$custom-light: #de89ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb548a",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 138
  },
  "hsl": {
    "h": 332.773,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61426,
    "c": 0.16088,
    "h": 354.6
  },
  "luminance": 0.20872
}

Semantic roles & 50–950 ramp

primary
#CB548A
secondary
#A5D6C0
accent
#DD9B4B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB548A

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

Preview Lab → · Contrast checker → · Palette generator →

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