#CB45B4#CB45B4

#CB45B4 is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.4% C 0.208 H 335.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CB45B4
RGBrgb(203, 69, 180)
HSLhsl(310, 56%, 53%)
HSVhsv(310, 66%, 80%)
CMYKcmyk(0%, 66%, 11.3%, 20.4%)
CIE-LABlab(52.12, 64.75, -31.79)
CIE-LCHlch(52.12, 72.13, 333.85°)
OKLaboklab(61.45% 0.1888 -0.0866)
OKLCHoklch(61.45% 0.208 335.4)
XYZxyz(34.9953, 20.2510, 45.2369)
Luminance0.2025 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45B4 #45CB5C
analogous
#9F45CB #CB45B4 #CB4571
triadic
#CB45B4 #B4CB45 #45B4CB
tetradic
#CB45B4 #CB9F45 #45CB5C #4571CB
square
#CB45B4 #CB9F45 #45CB5C #4571CB
split-complementary
#CB45B4 #71CB45 #45CB9F
monochromatic
#752166 #A52E90 #CB45B4 #D875C7 #E6A5DB

Accessibility & contrast

On white

4.16
#CB45B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CB45B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45B4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45B4#FFFFFF#000000##000000
##CB45B41.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#456FB7
Deuteranopia (green-blind)
#7184B1
Tritanopia (blue-blind)
#D54E76
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb45b4;
/* rgb */ color: rgb(203, 69, 180);
/* oklch */ color: oklch(61.4% 0.208 335.4);
Tailwind
colors: {
  custom: {
    50: '#de82cb',
    500: '#cb45b4',
    950: '#000000',
  },
}
SCSS
$custom: #cb45b4;
$custom-light: #de82cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45b4",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 310.299,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61447,
    "c": 0.2077,
    "h": 335.4
  },
  "luminance": 0.20248
}

Semantic roles & 50–950 ramp

primary
#CB45B4
secondary
#99D3A3
accent
#E06248
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB45B4

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

Preview Lab → · Contrast checker → · Palette generator →

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