#CB45B3#CB45B3

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

Color values

HEX#CB45B3
RGBrgb(203, 69, 179)
HSLhsl(311, 56%, 53%)
HSVhsv(311, 66%, 80%)
CMYKcmyk(0%, 66%, 11.8%, 20.4%)
CIE-LABlab(52.07, 64.60, -31.28)
CIE-LCHlch(52.07, 71.77, 334.16°)
OKLaboklab(61.4% 0.1887 -0.0851)
OKLCHoklch(61.4% 0.207 335.7)
XYZxyz(34.8938, 20.2104, 44.7023)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45B3 #45CB5D
analogous
#A045CB #CB45B3 #CB4570
triadic
#CB45B3 #B3CB45 #45B3CB
tetradic
#CB45B3 #CBA045 #45CB5D #4570CB
square
#CB45B3 #CBA045 #45CB5D #4570CB
split-complementary
#CB45B3 #70CB45 #45CBA0
monochromatic
#752166 #A52E8F #CB45B3 #D875C7 #E6A5DA

Accessibility & contrast

On white

4.17
#CB45B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CB45B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45B3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45B3#FFFFFF#000000##000000
##CB45B31.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#466FB6
Deuteranopia (green-blind)
#7283B0
Tritanopia (blue-blind)
#D54D76
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb45b3;
/* rgb */ color: rgb(203, 69, 179);
/* oklch */ color: oklch(61.4% 0.207 335.7);
Tailwind
colors: {
  custom: {
    50: '#de82ca',
    500: '#cb45b3',
    950: '#000000',
  },
}
SCSS
$custom: #cb45b3;
$custom-light: #de82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45b3",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 310.746,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61399,
    "c": 0.20698,
    "h": 335.7
  },
  "luminance": 0.20207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB45B3

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

Preview Lab → · Contrast checker → · Palette generator →

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