#CB45AE#CB45AE

#CB45AE is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.2% C 0.203 H 337.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CB45AE
RGBrgb(203, 69, 174)
HSLhsl(313, 56%, 53%)
HSVhsv(313, 66%, 80%)
CMYKcmyk(0%, 66%, 14.3%, 20.4%)
CIE-LABlab(51.85, 63.85, -28.71)
CIE-LCHlch(51.85, 70.01, 335.79°)
OKLaboklab(61.16% 0.188 -0.0778)
OKLCHoklch(61.16% 0.203 337.5)
XYZxyz(34.3973, 20.0118, 42.0873)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45AE #45CB62
analogous
#A545CB #CB45AE #CB456B
triadic
#CB45AE #AECB45 #45AECB
tetradic
#CB45AE #CBA545 #45CB62 #456BCB
square
#CB45AE #CBA545 #45CB62 #456BCB
split-complementary
#CB45AE #6BCB45 #45CBA5
monochromatic
#752163 #A52E8B #CB45AE #D875C3 #E6A5D8

Accessibility & contrast

On white

4.20
#CB45AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CB45AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45AE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45AE#FFFFFF#000000##000000
##CB45AE1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#496EB1
Deuteranopia (green-blind)
#7483AB
Tritanopia (blue-blind)
#D64B73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb45ae;
/* rgb */ color: rgb(203, 69, 174);
/* oklch */ color: oklch(61.2% 0.203 337.5);
Tailwind
colors: {
  custom: {
    50: '#de82c6',
    500: '#cb45ae',
    950: '#000000',
  },
}
SCSS
$custom: #cb45ae;
$custom-light: #de82c6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45ae",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 312.985,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61163,
    "c": 0.20344,
    "h": 337.5
  },
  "luminance": 0.20009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB45AE

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

Preview Lab → · Contrast checker → · Palette generator →

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