#CB5286#CB5286

#CB5286 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.0% C 0.162 H 356.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CB5286
RGBrgb(203, 82, 134)
HSLhsl(334, 54%, 56%)
HSVhsv(334, 60%, 80%)
CMYKcmyk(0%, 59.6%, 34%, 20.4%)
CIE-LABlab(52.35, 53.05, -4.32)
CIE-LCHlch(52.35, 53.23, 355.34°)
OKLaboklab(61.04% 0.1617 -0.0107)
OKLCHoklch(61.04% 0.162 356.2)
XYZxyz(31.9506, 20.4557, 24.8153)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5286 #52CB97
analogous
#CB52C2 #CB5286 #CB5A52
triadic
#CB5286 #86CB52 #5286CB
tetradic
#CB5286 #C2CB52 #52CB97 #5A52CB
square
#CB5286 #C2CB52 #52CB97 #5A52CB
split-complementary
#CB5286 #52CB5A #52C2CB
monochromatic
#7D264B #AC3467 #CB5286 #D981A7 #E7B0C8

Accessibility & contrast

On white

4.13
#CB5286 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CB5286 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5286
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5286#FFFFFF#000000##000000
##CB52861.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#656F88
Deuteranopia (green-blind)
#868583
Tritanopia (blue-blind)
#DA4966
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb5286;
/* rgb */ color: rgb(203, 82, 134);
/* oklch */ color: oklch(61.0% 0.162 356.2);
Tailwind
colors: {
  custom: {
    50: '#df88a9',
    500: '#cb5286',
    950: '#000000',
  },
}
SCSS
$custom: #cb5286;
$custom-light: #df88a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5286",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 134
  },
  "hsl": {
    "h": 334.215,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61039,
    "c": 0.16206,
    "h": 356.2
  },
  "luminance": 0.20452
}

Semantic roles & 50–950 ramp

primary
#CB5286
secondary
#A3D5C0
accent
#DD9E4B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB5286

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

Preview Lab → · Contrast checker → · Palette generator →

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