#CB45A3#CB45A3

#CB45A3 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.7% C 0.196 H 341.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CB45A3
RGBrgb(203, 69, 163)
HSLhsl(318, 56%, 53%)
HSVhsv(318, 66%, 80%)
CMYKcmyk(0%, 66%, 19.7%, 20.4%)
CIE-LABlab(51.38, 62.28, -22.97)
CIE-LCHlch(51.38, 66.39, 339.75°)
OKLaboklab(60.67% 0.1861 -0.0616)
OKLCHoklch(60.67% 0.196 341.7)
XYZxyz(33.3685, 19.6003, 36.6691)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45A3 #45CB6D
analogous
#B045CB #CB45A3 #CB4560
triadic
#CB45A3 #A3CB45 #45A3CB
tetradic
#CB45A3 #CBB045 #45CB6D #4560CB
square
#CB45A3 #CBB045 #45CB6D #4560CB
split-complementary
#CB45A3 #60CB45 #45CBB0
monochromatic
#75215C #A52E81 #CB45A3 #D875BB #E6A5D2

Accessibility & contrast

On white

4.27
#CB45A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CB45A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45A3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45A3#FFFFFF#000000##000000
##CB45A31.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6DA6
Deuteranopia (green-blind)
#7882A0
Tritanopia (blue-blind)
#D7476E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb45a3;
/* rgb */ color: rgb(203, 69, 163);
/* oklch */ color: oklch(60.7% 0.196 341.7);
Tailwind
colors: {
  custom: {
    50: '#de82be',
    500: '#cb45a3',
    950: '#000000',
  },
}
SCSS
$custom: #cb45a3;
$custom-light: #de82be;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45a3",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 317.91,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60668,
    "c": 0.19606,
    "h": 341.7
  },
  "luminance": 0.19597
}

Semantic roles & 50–950 ramp

primary
#CB45A3
secondary
#99D3AA
accent
#E07548
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB45A3

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

Preview Lab → · Contrast checker → · Palette generator →

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