#CB5281#CB5281

#CB5281 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.9% C 0.160 H 358.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CB5281
RGBrgb(203, 82, 129)
HSLhsl(337, 54%, 56%)
HSVhsv(337, 60%, 80%)
CMYKcmyk(0%, 59.6%, 36.5%, 20.4%)
CIE-LABlab(52.20, 52.47, -1.57)
CIE-LCHlch(52.20, 52.49, 358.29°)
OKLaboklab(60.88% 0.1601 -0.0034)
OKLCHoklch(60.88% 0.16 358.8)
XYZxyz(31.6101, 20.3195, 23.0220)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5281 #52CB9C
analogous
#CB52BE #CB5281 #CB5F52
triadic
#CB5281 #81CB52 #5281CB
tetradic
#CB5281 #BECB52 #52CB9C #5F52CB
square
#CB5281 #BECB52 #52CB9C #5F52CB
split-complementary
#CB5281 #52CB5F #52BECB
monochromatic
#7D2648 #AC3462 #CB5281 #D981A3 #E7B0C6

Accessibility & contrast

On white

4.15
#CB5281 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CB5281 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5281
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5281#FFFFFF#000000##000000
##CB52811.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#676E82
Deuteranopia (green-blind)
#87857E
Tritanopia (blue-blind)
#DA4864
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb5281;
/* rgb */ color: rgb(203, 82, 129);
/* oklch */ color: oklch(60.9% 0.160 358.8);
Tailwind
colors: {
  custom: {
    50: '#df88a5',
    500: '#cb5281',
    950: '#000000',
  },
}
SCSS
$custom: #cb5281;
$custom-light: #df88a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5281",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 336.694,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60876,
    "c": 0.16011,
    "h": 358.8
  },
  "luminance": 0.20316
}

Semantic roles & 50–950 ramp

primary
#CB5281
secondary
#A3D5C2
accent
#DDA44B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB5281

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

Preview Lab → · Contrast checker → · Palette generator →

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