#CB5287#CB5287

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

Color values

HEX#CB5287
RGBrgb(203, 82, 135)
HSLhsl(334, 54%, 56%)
HSVhsv(334, 60%, 80%)
CMYKcmyk(0%, 59.6%, 33.5%, 20.4%)
CIE-LABlab(52.38, 53.17, -4.87)
CIE-LCHlch(52.38, 53.39, 354.76°)
OKLaboklab(61.07% 0.162 -0.0122)
OKLCHoklch(61.07% 0.162 355.7)
XYZxyz(32.0207, 20.4837, 25.1844)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5287 #52CB96
analogous
#CB52C3 #CB5287 #CB5952
triadic
#CB5287 #87CB52 #5287CB
tetradic
#CB5287 #C3CB52 #52CB96 #5952CB
square
#CB5287 #C3CB52 #52CB96 #5952CB
split-complementary
#CB5287 #52CB59 #52C3CB
monochromatic
#7D264C #AC3468 #CB5287 #D981A8 #E7B0C8

Accessibility & contrast

On white

4.12
#CB5287 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CB5287 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5287
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5287#FFFFFF#000000##000000
##CB52871.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#656F89
Deuteranopia (green-blind)
#868584
Tritanopia (blue-blind)
#DA4967
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb5287;
/* rgb */ color: rgb(203, 82, 135);
/* oklch */ color: oklch(61.1% 0.162 355.7);
Tailwind
colors: {
  custom: {
    50: '#df88a9',
    500: '#cb5287',
    950: '#000000',
  },
}
SCSS
$custom: #cb5287;
$custom-light: #df88a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5287",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 135
  },
  "hsl": {
    "h": 333.719,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61072,
    "c": 0.16249,
    "h": 355.7
  },
  "luminance": 0.2048
}

Semantic roles & 50–950 ramp

primary
#CB5287
secondary
#A3D5C0
accent
#DD9D4B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB5287

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

Preview Lab → · Contrast checker → · Palette generator →

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