#CB5180#CB5180

#CB5180 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.7% C 0.161 H 359.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CB5180
RGBrgb(203, 81, 128)
HSLhsl(337, 54%, 56%)
HSVhsv(337, 60%, 80%)
CMYKcmyk(0%, 60.1%, 36.9%, 20.4%)
CIE-LABlab(52.00, 52.80, -1.26)
CIE-LCHlch(52.00, 52.82, 358.63°)
OKLaboklab(60.72% 0.1611 -0.0026)
OKLCHoklch(60.72% 0.161 359.1)
XYZxyz(31.4691, 20.1433, 22.6487)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5180 #51CB9C
analogous
#CB51BD #CB5180 #CB5F51
triadic
#CB5180 #80CB51 #5180CB
tetradic
#CB5180 #BDCB51 #51CB9C #5F51CB
square
#CB5180 #BDCB51 #51CB9C #5F51CB
split-complementary
#CB5180 #51CB5F #51BDCB
monochromatic
#7C2547 #AC3362 #CB5180 #D980A2 #E7AFC5

Accessibility & contrast

On white

4.18
#CB5180 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CB5180 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5180
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5180#FFFFFF#000000##000000
##CB51801.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#666E81
Deuteranopia (green-blind)
#87857D
Tritanopia (blue-blind)
#DB4663
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb5180;
/* rgb */ color: rgb(203, 81, 128);
/* oklch */ color: oklch(60.7% 0.161 359.1);
Tailwind
colors: {
  custom: {
    50: '#df88a4',
    500: '#cb5180',
    950: '#000000',
  },
}
SCSS
$custom: #cb5180;
$custom-light: #df88a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5180",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 128
  },
  "hsl": {
    "h": 336.885,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60719,
    "c": 0.16116,
    "h": 359.1
  },
  "luminance": 0.2014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5180

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

Preview Lab → · Contrast checker → · Palette generator →

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