#CB5291#CB5291

#CB5291 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.4% C 0.167 H 350.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CB5291
RGBrgb(203, 82, 145)
HSLhsl(329, 54%, 56%)
HSVhsv(329, 60%, 80%)
CMYKcmyk(0%, 59.6%, 28.6%, 20.4%)
CIE-LABlab(52.71, 54.41, -10.32)
CIE-LCHlch(52.71, 55.38, 349.26°)
OKLaboklab(61.42% 0.1651 -0.0268)
OKLCHoklch(61.42% 0.167 350.8)
XYZxyz(32.7581, 20.7787, 29.0681)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5291 #52CB8C
analogous
#C852CB #CB5291 #CB5254
triadic
#CB5291 #91CB52 #5291CB
tetradic
#CB5291 #CBC852 #52CB8C #5254CB
square
#CB5291 #CBC852 #52CB8C #5254CB
split-complementary
#CB5291 #54CB52 #52CBC8
monochromatic
#7D2653 #AC3472 #CB5291 #D981AF #E7B0CD

Accessibility & contrast

On white

4.07
#CB5291 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CB5291 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5291
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5291#FFFFFF#000000##000000
##CB52911.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#627093
Deuteranopia (green-blind)
#83868E
Tritanopia (blue-blind)
#D94D6B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb5291;
/* rgb */ color: rgb(203, 82, 145);
/* oklch */ color: oklch(61.4% 0.167 350.8);
Tailwind
colors: {
  custom: {
    50: '#de88b1',
    500: '#cb5291',
    950: '#000000',
  },
}
SCSS
$custom: #cb5291;
$custom-light: #de88b1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5291",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 145
  },
  "hsl": {
    "h": 328.76,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61422,
    "c": 0.16723,
    "h": 350.8
  },
  "luminance": 0.20775
}

Semantic roles & 50–950 ramp

primary
#CB5291
secondary
#A3D5BB
accent
#DD914B
background
#FEF8FA
surface
#FCF0F5
border
#D5CBCF
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB5291

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

Preview Lab → · Contrast checker → · Palette generator →

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