#CB45A5#CB45A5

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

Color values

HEX#CB45A5
RGBrgb(203, 69, 165)
HSLhsl(317, 56%, 53%)
HSVhsv(317, 66%, 80%)
CMYKcmyk(0%, 66%, 18.7%, 20.4%)
CIE-LABlab(51.46, 62.56, -24.02)
CIE-LCHlch(51.46, 67.02, 338.99°)
OKLaboklab(60.76% 0.1865 -0.0646)
OKLCHoklch(60.76% 0.197 340.9)
XYZxyz(33.5491, 19.6725, 37.6203)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45A5 #45CB6B
analogous
#AE45CB #CB45A5 #CB4562
triadic
#CB45A5 #A5CB45 #45A5CB
tetradic
#CB45A5 #CBAE45 #45CB6B #4562CB
square
#CB45A5 #CBAE45 #45CB6B #4562CB
split-complementary
#CB45A5 #62CB45 #45CBAE
monochromatic
#75215D #A52E83 #CB45A5 #D875BC #E6A5D3

Accessibility & contrast

On white

4.26
#CB45A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CB45A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45A5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45A5#FFFFFF#000000##000000
##CB45A51.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6DA8
Deuteranopia (green-blind)
#7783A2
Tritanopia (blue-blind)
#D7486F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb45a5;
/* rgb */ color: rgb(203, 69, 165);
/* oklch */ color: oklch(60.8% 0.197 340.9);
Tailwind
colors: {
  custom: {
    50: '#de82c0',
    500: '#cb45a5',
    950: '#000000',
  },
}
SCSS
$custom: #cb45a5;
$custom-light: #de82c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45a5",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 317.015,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60756,
    "c": 0.19735,
    "h": 340.9
  },
  "luminance": 0.19669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB45A5

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

Preview Lab → · Contrast checker → · Palette generator →

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