#CB45A2#CB45A2

#CB45A2 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.6% C 0.195 H 342.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CB45A2
RGBrgb(203, 69, 162)
HSLhsl(318, 56%, 53%)
HSVhsv(318, 66%, 80%)
CMYKcmyk(0%, 66%, 20.2%, 20.4%)
CIE-LABlab(51.34, 62.15, -22.45)
CIE-LCHlch(51.34, 66.08, 340.14°)
OKLaboklab(60.62% 0.1859 -0.0601)
OKLCHoklch(60.62% 0.195 342.1)
XYZxyz(33.2793, 19.5646, 36.1991)
Luminance0.1956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45A2 #45CB6E
analogous
#B145CB #CB45A2 #CB455F
triadic
#CB45A2 #A2CB45 #45A2CB
tetradic
#CB45A2 #CBB145 #45CB6E #455FCB
square
#CB45A2 #CBB145 #45CB6E #455FCB
split-complementary
#CB45A2 #5FCB45 #45CBB1
monochromatic
#75215B #A52E80 #CB45A2 #D875BA #E6A5D2

Accessibility & contrast

On white

4.28
#CB45A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CB45A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45A2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45A2#FFFFFF#000000##000000
##CB45A21.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#506CA5
Deuteranopia (green-blind)
#78829F
Tritanopia (blue-blind)
#D7466D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb45a2;
/* rgb */ color: rgb(203, 69, 162);
/* oklch */ color: oklch(60.6% 0.195 342.1);
Tailwind
colors: {
  custom: {
    50: '#de82bd',
    500: '#cb45a2',
    950: '#000000',
  },
}
SCSS
$custom: #cb45a2;
$custom-light: #de82bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45a2",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 318.358,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60625,
    "c": 0.1954,
    "h": 342.1
  },
  "luminance": 0.19561
}

Semantic roles & 50–950 ramp

primary
#CB45A2
secondary
#99D3AB
accent
#E07748
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB45A2

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

Preview Lab → · Contrast checker → · Palette generator →

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