#CB5486#CB5486

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

Color values

HEX#CB5486
RGBrgb(203, 84, 134)
HSLhsl(335, 53%, 56%)
HSVhsv(335, 59%, 80%)
CMYKcmyk(0%, 58.6%, 34%, 20.4%)
CIE-LABlab(52.69, 52.14, -3.82)
CIE-LCHlch(52.69, 52.28, 355.81°)
OKLaboklab(61.29% 0.1589 -0.0094)
OKLCHoklch(61.29% 0.159 356.6)
XYZxyz(32.1037, 20.7617, 24.8663)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5486 #54CB99
analogous
#CB54C2 #CB5486 #CB5E54
triadic
#CB5486 #86CB54 #5486CB
tetradic
#CB5486 #C2CB54 #54CB99 #5E54CB
square
#CB5486 #C2CB54 #54CB99 #5E54CB
split-complementary
#CB5486 #54CB5E #54C2CB
monochromatic
#7E264B #AD3567 #CB5486 #D983A7 #E8B2C8

Accessibility & contrast

On white

4.08
#CB5486 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5486#FFFFFF#000000##000000
##CB54861.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#677087
Deuteranopia (green-blind)
#878683
Tritanopia (blue-blind)
#DA4B67
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb5486;
/* rgb */ color: rgb(203, 84, 134);
/* oklch */ color: oklch(61.3% 0.159 356.6);
Tailwind
colors: {
  custom: {
    50: '#de89a9',
    500: '#cb5486',
    950: '#000000',
  },
}
SCSS
$custom: #cb5486;
$custom-light: #de89a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5486",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 134
  },
  "hsl": {
    "h": 334.79,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61291,
    "c": 0.15916,
    "h": 356.6
  },
  "luminance": 0.20758
}

Semantic roles & 50–950 ramp

primary
#CB5486
secondary
#A5D6C1
accent
#DDA04B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB5486

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

Preview Lab → · Contrast checker → · Palette generator →

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