#CB45AC#CB45AC

#CB45AC is a mid, highly saturated pink. Relative luminance 0.199; OKLCH L 61.1% C 0.202 H 338.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CB45AC
RGBrgb(203, 69, 172)
HSLhsl(314, 56%, 53%)
HSVhsv(314, 66%, 80%)
CMYKcmyk(0%, 66%, 15.3%, 20.4%)
CIE-LABlab(51.76, 63.56, -27.67)
CIE-LCHlch(51.76, 69.32, 336.48°)
OKLaboklab(61.07% 0.1877 -0.0749)
OKLCHoklch(61.07% 0.202 338.2)
XYZxyz(34.2038, 19.9343, 41.0680)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45AC #45CB64
analogous
#A745CB #CB45AC #CB4569
triadic
#CB45AC #ACCB45 #45ACCB
tetradic
#CB45AC #CBA745 #45CB64 #4569CB
square
#CB45AC #CBA745 #45CB64 #4569CB
split-complementary
#CB45AC #69CB45 #45CBA7
monochromatic
#752161 #A52E89 #CB45AC #D875C1 #E6A5D7

Accessibility & contrast

On white

4.21
#CB45AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CB45AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45AC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45AC#FFFFFF#000000##000000
##CB45AC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6EAF
Deuteranopia (green-blind)
#7583A9
Tritanopia (blue-blind)
#D64B72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb45ac;
/* rgb */ color: rgb(203, 69, 172);
/* oklch */ color: oklch(61.1% 0.202 338.2);
Tailwind
colors: {
  custom: {
    50: '#de82c5',
    500: '#cb45ac',
    950: '#000000',
  },
}
SCSS
$custom: #cb45ac;
$custom-light: #de82c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45ac",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 313.881,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61071,
    "c": 0.20206,
    "h": 338.2
  },
  "luminance": 0.19931
}

Semantic roles & 50–950 ramp

primary
#CB45AC
secondary
#99D3A6
accent
#E06B48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB45AC

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

Preview Lab → · Contrast checker → · Palette generator →

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