#CB45AB#CB45AB

#CB45AB is a mid, highly saturated pink. Relative luminance 0.199; OKLCH L 61.0% C 0.201 H 338.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CB45AB
RGBrgb(203, 69, 171)
HSLhsl(314, 56%, 53%)
HSVhsv(314, 66%, 80%)
CMYKcmyk(0%, 66%, 15.8%, 20.4%)
CIE-LABlab(51.72, 63.42, -27.15)
CIE-LCHlch(51.72, 68.99, 336.82°)
OKLaboklab(61.03% 0.1875 -0.0734)
OKLCHoklch(61.03% 0.201 338.6)
XYZxyz(34.1081, 19.8961, 40.5642)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45AB #45CB65
analogous
#A845CB #CB45AB #CB4568
triadic
#CB45AB #ABCB45 #45ABCB
tetradic
#CB45AB #CBA845 #45CB65 #4568CB
square
#CB45AB #CBA845 #45CB65 #4568CB
split-complementary
#CB45AB #68CB45 #45CBA8
monochromatic
#752161 #A52E88 #CB45AB #D875C1 #E6A5D6

Accessibility & contrast

On white

4.22
#CB45AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CB45AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45AB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45AB#FFFFFF#000000##000000
##CB45AB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6EAE
Deuteranopia (green-blind)
#7583A8
Tritanopia (blue-blind)
#D64A72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb45ab;
/* rgb */ color: rgb(203, 69, 171);
/* oklch */ color: oklch(61.0% 0.201 338.6);
Tailwind
colors: {
  custom: {
    50: '#de82c4',
    500: '#cb45ab',
    950: '#000000',
  },
}
SCSS
$custom: #cb45ab;
$custom-light: #de82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45ab",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 314.328,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61025,
    "c": 0.20137,
    "h": 338.6
  },
  "luminance": 0.19893
}

Semantic roles & 50–950 ramp

primary
#CB45AB
secondary
#99D3A7
accent
#E06C48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB45AB

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

Preview Lab → · Contrast checker → · Palette generator →

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