#C45BB2#C45BB2

#C45BB2 is a light, vivid pink. Relative luminance 0.224; OKLCH L 62.9% C 0.170 H 334.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#C45BB2
RGBrgb(196, 91, 178)
HSLhsl(310, 47%, 56%)
HSVhsv(310, 54%, 77%)
CMYKcmyk(0%, 53.6%, 9.2%, 23.1%)
CIE-LABlab(54.49, 53.00, -27.03)
CIE-LCHlch(54.49, 59.49, 332.98°)
OKLaboklab(62.94% 0.1531 -0.0734)
OKLCHoklch(62.94% 0.17 334.4)
XYZxyz(34.5420, 22.4347, 44.6219)
Luminance0.2243 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45BB2 #5BC46D
analogous
#A25BC4 #C45BB2 #C45B7E
triadic
#C45BB2 #B2C45B #5BB2C4
tetradic
#C45BB2 #C4A25B #5BC46D #5B7EC4
square
#C45BB2 #C4A25B #5BC46D #5B7EC4
split-complementary
#C45BB2 #7EC45B #5BC4A2
monochromatic
#792C6C #A63C94 #C45BB2 #D488C7 #E4B5DC

Accessibility & contrast

On white

3.83
#C45BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#C45BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45BB2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45BB2#FFFFFF#000000##000000
##C45BB21.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A79B5
Deuteranopia (green-blind)
#7988AF
Tritanopia (blue-blind)
#CC617E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c45bb2;
/* rgb */ color: rgb(196, 91, 178);
/* oklch */ color: oklch(62.9% 0.170 334.4);
Tailwind
colors: {
  custom: {
    50: '#d88ec9',
    500: '#c45bb2',
    950: '#000000',
  },
}
SCSS
$custom: #c45bb2;
$custom-light: #d88ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#c45bb2",
  "rgb": {
    "r": 196,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 310.286,
    "s": 47.085,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62945,
    "c": 0.16975,
    "h": 334.4
  },
  "luminance": 0.22432
}

Semantic roles & 50–950 ramp

primary
#C45BB2
secondary
#A8D3AF
accent
#D76851
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150D13
muted
#837D82

Preview Lab

Preview with #C45BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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