#CB518B#CB518B

#CB518B is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.1% C 0.166 H 353.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CB518B
RGBrgb(203, 81, 139)
HSLhsl(331, 54%, 56%)
HSVhsv(331, 60%, 80%)
CMYKcmyk(0%, 60.1%, 31.5%, 20.4%)
CIE-LABlab(52.34, 54.10, -7.31)
CIE-LCHlch(52.34, 54.60, 352.31°)
OKLaboklab(61.09% 0.1647 -0.0186)
OKLCHoklch(61.09% 0.166 353.5)
XYZxyz(32.2328, 20.4488, 26.6706)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB518B #51CB91
analogous
#CB51C8 #CB518B #CB5451
triadic
#CB518B #8BCB51 #518BCB
tetradic
#CB518B #C8CB51 #51CB91 #5451CB
square
#CB518B #C8CB51 #51CB91 #5451CB
split-complementary
#CB518B #51CB54 #51C8CB
monochromatic
#7C254F #AC336C #CB518B #D980AA #E7AFCA

Accessibility & contrast

On white

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

On black

5.09
#CB518B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB518B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB518B#FFFFFF#000000##000000
##CB518B1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#636F8D
Deuteranopia (green-blind)
#848588
Tritanopia (blue-blind)
#D94A68
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb518b;
/* rgb */ color: rgb(203, 81, 139);
/* oklch */ color: oklch(61.1% 0.166 353.5);
Tailwind
colors: {
  custom: {
    50: '#de88ac',
    500: '#cb518b',
    950: '#000000',
  },
}
SCSS
$custom: #cb518b;
$custom-light: #de88ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb518b",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 139
  },
  "hsl": {
    "h": 331.475,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61085,
    "c": 0.16572,
    "h": 353.5
  },
  "luminance": 0.20445
}

Semantic roles & 50–950 ramp

primary
#CB518B
secondary
#A3D5BD
accent
#DD984A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB518B

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

Preview Lab → · Contrast checker → · Palette generator →

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