#CB5082#CB5082

#CB5082 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.7% C 0.163 H 357.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CB5082
RGBrgb(203, 80, 130)
HSLhsl(336, 54%, 55%)
HSVhsv(336, 61%, 80%)
CMYKcmyk(0%, 60.6%, 36%, 20.4%)
CIE-LABlab(51.89, 53.48, -2.61)
CIE-LCHlch(51.89, 53.54, 357.20°)
OKLaboklab(60.66% 0.1632 -0.0062)
OKLCHoklch(60.66% 0.163 357.8)
XYZxyz(31.5283, 20.0489, 23.3242)
Luminance0.2005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5082 #50CB99
analogous
#CB50BF #CB5082 #CB5B50
triadic
#CB5082 #82CB50 #5082CB
tetradic
#CB5082 #BFCB50 #50CB99 #5B50CB
square
#CB5082 #BFCB50 #50CB99 #5B50CB
split-complementary
#CB5082 #50CB5B #50BFCB
monochromatic
#7C2548 #AB3364 #CB5082 #D97FA4 #E7AEC5

Accessibility & contrast

On white

4.19
#CB5082 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CB5082 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5082
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5082#FFFFFF#000000##000000
##CB50821.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#656D83
Deuteranopia (green-blind)
#86847F
Tritanopia (blue-blind)
#DA4664
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb5082;
/* rgb */ color: rgb(203, 80, 130);
/* oklch */ color: oklch(60.7% 0.163 357.8);
Tailwind
colors: {
  custom: {
    50: '#df87a6',
    500: '#cb5082',
    950: '#000000',
  },
}
SCSS
$custom: #cb5082;
$custom-light: #df87a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5082",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 130
  },
  "hsl": {
    "h": 335.61,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60659,
    "c": 0.16332,
    "h": 357.8
  },
  "luminance": 0.20046
}

Semantic roles & 50–950 ramp

primary
#CB5082
secondary
#A2D5C0
accent
#DEA24A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB5082

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

Preview Lab → · Contrast checker → · Palette generator →

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