#CB45A7#CB45A7

#CB45A7 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.8% C 0.199 H 340.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CB45A7
RGBrgb(203, 69, 167)
HSLhsl(316, 56%, 53%)
HSVhsv(316, 66%, 80%)
CMYKcmyk(0%, 66%, 17.7%, 20.4%)
CIE-LABlab(51.55, 62.84, -25.07)
CIE-LCHlch(51.55, 67.66, 338.25°)
OKLaboklab(60.84% 0.1868 -0.0675)
OKLCHoklch(60.84% 0.199 340.1)
XYZxyz(33.7326, 19.7459, 38.5865)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45A7 #45CB69
analogous
#AC45CB #CB45A7 #CB4564
triadic
#CB45A7 #A7CB45 #45A7CB
tetradic
#CB45A7 #CBAC45 #45CB69 #4564CB
square
#CB45A7 #CBAC45 #45CB69 #4564CB
split-complementary
#CB45A7 #64CB45 #45CBAC
monochromatic
#75215E #A52E85 #CB45A7 #D875BE #E6A5D4

Accessibility & contrast

On white

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

On black

4.95
#CB45A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45A7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45A7#FFFFFF#000000##000000
##CB45A71.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6DAA
Deuteranopia (green-blind)
#7683A4
Tritanopia (blue-blind)
#D74870
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb45a7;
/* rgb */ color: rgb(203, 69, 167);
/* oklch */ color: oklch(60.8% 0.199 340.1);
Tailwind
colors: {
  custom: {
    50: '#de82c1',
    500: '#cb45a7',
    950: '#000000',
  },
}
SCSS
$custom: #cb45a7;
$custom-light: #de82c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45a7",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 316.119,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60844,
    "c": 0.19868,
    "h": 340.1
  },
  "luminance": 0.19743
}

Semantic roles & 50–950 ramp

primary
#CB45A7
secondary
#99D3A9
accent
#E07148
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB45A7

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

Preview Lab → · Contrast checker → · Palette generator →

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