#CB45A8#CB45A8

#CB45A8 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.9% C 0.199 H 339.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CB45A8
RGBrgb(203, 69, 168)
HSLhsl(316, 56%, 53%)
HSVhsv(316, 66%, 80%)
CMYKcmyk(0%, 66%, 17.2%, 20.4%)
CIE-LABlab(51.59, 62.99, -25.59)
CIE-LCHlch(51.59, 67.99, 337.89°)
OKLaboklab(60.89% 0.187 -0.069)
OKLCHoklch(60.89% 0.199 339.8)
XYZxyz(33.8254, 19.7830, 39.0752)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45A8 #45CB68
analogous
#AB45CB #CB45A8 #CB4565
triadic
#CB45A8 #A8CB45 #45A8CB
tetradic
#CB45A8 #CBAB45 #45CB68 #4565CB
square
#CB45A8 #CBAB45 #45CB68 #4565CB
split-complementary
#CB45A8 #65CB45 #45CBAB
monochromatic
#75215F #A52E86 #CB45A8 #D875BE #E6A5D5

Accessibility & contrast

On white

4.24
#CB45A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CB45A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45A8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45A8#FFFFFF#000000##000000
##CB45A81.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6DAB
Deuteranopia (green-blind)
#7683A5
Tritanopia (blue-blind)
#D64970
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb45a8;
/* rgb */ color: rgb(203, 69, 168);
/* oklch */ color: oklch(60.9% 0.199 339.8);
Tailwind
colors: {
  custom: {
    50: '#de82c2',
    500: '#cb45a8',
    950: '#000000',
  },
}
SCSS
$custom: #cb45a8;
$custom-light: #de82c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45a8",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 168
  },
  "hsl": {
    "h": 315.672,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60889,
    "c": 0.19934,
    "h": 339.8
  },
  "luminance": 0.1978
}

Semantic roles & 50–950 ramp

primary
#CB45A8
secondary
#99D3A8
accent
#E07048
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB45A8

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

Preview Lab → · Contrast checker → · Palette generator →

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