#CB5285#CB5285

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

Color values

HEX#CB5285
RGBrgb(203, 82, 133)
HSLhsl(335, 54%, 56%)
HSVhsv(335, 60%, 80%)
CMYKcmyk(0%, 59.6%, 34.5%, 20.4%)
CIE-LABlab(52.32, 52.93, -3.77)
CIE-LCHlch(52.32, 53.07, 355.92°)
OKLaboklab(61.01% 0.1614 -0.0092)
OKLCHoklch(61.01% 0.162 356.7)
XYZxyz(31.8812, 20.4279, 24.4498)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5285 #52CB98
analogous
#CB52C1 #CB5285 #CB5B52
triadic
#CB5285 #85CB52 #5285CB
tetradic
#CB5285 #C1CB52 #52CB98 #5B52CB
square
#CB5285 #C1CB52 #52CB98 #5B52CB
split-complementary
#CB5285 #52CB5B #52C1CB
monochromatic
#7D264A #AC3466 #CB5285 #D981A6 #E7B0C7

Accessibility & contrast

On white

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

On black

5.08
#CB5285 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5285
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5285#FFFFFF#000000##000000
##CB52851.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#666F87
Deuteranopia (green-blind)
#868582
Tritanopia (blue-blind)
#DA4966
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb5285;
/* rgb */ color: rgb(203, 82, 133);
/* oklch */ color: oklch(61.0% 0.162 356.7);
Tailwind
colors: {
  custom: {
    50: '#df88a8',
    500: '#cb5285',
    950: '#000000',
  },
}
SCSS
$custom: #cb5285;
$custom-light: #df88a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5285",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 133
  },
  "hsl": {
    "h": 334.711,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61006,
    "c": 0.16165,
    "h": 356.7
  },
  "luminance": 0.20425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5285

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

Preview Lab → · Contrast checker → · Palette generator →

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