#CB45A9#CB45A9

#CB45A9 is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 60.9% C 0.200 H 339.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CB45A9
RGBrgb(203, 69, 169)
HSLhsl(315, 56%, 53%)
HSVhsv(315, 66%, 80%)
CMYKcmyk(0%, 66%, 16.7%, 20.4%)
CIE-LABlab(51.63, 63.13, -26.11)
CIE-LCHlch(51.63, 68.32, 337.53°)
OKLaboklab(60.93% 0.1872 -0.0705)
OKLCHoklch(60.93% 0.2 339.4)
XYZxyz(33.9189, 19.8204, 39.5678)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45A9 #45CB67
analogous
#AA45CB #CB45A9 #CB4566
triadic
#CB45A9 #A9CB45 #45A9CB
tetradic
#CB45A9 #CBAA45 #45CB67 #4566CB
square
#CB45A9 #CBAA45 #45CB67 #4566CB
split-complementary
#CB45A9 #66CB45 #45CBAA
monochromatic
#752160 #A52E87 #CB45A9 #D875BF #E6A5D5

Accessibility & contrast

On white

4.23
#CB45A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB45A9#FFFFFF#000000##000000
##CB45A91.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6EAC
Deuteranopia (green-blind)
#7683A6
Tritanopia (blue-blind)
#D64971
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb45a9;
/* rgb */ color: rgb(203, 69, 169);
/* oklch */ color: oklch(60.9% 0.200 339.4);
Tailwind
colors: {
  custom: {
    50: '#de82c3',
    500: '#cb45a9',
    950: '#000000',
  },
}
SCSS
$custom: #cb45a9;
$custom-light: #de82c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45a9",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 169
  },
  "hsl": {
    "h": 315.224,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60934,
    "c": 0.20002,
    "h": 339.4
  },
  "luminance": 0.19817
}

Semantic roles & 50–950 ramp

primary
#CB45A9
secondary
#99D3A8
accent
#E06F48
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB45A9

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

Preview Lab → · Contrast checker → · Palette generator →

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