#CB518F#CB518F

#CB518F is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.2% C 0.168 H 351.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CB518F
RGBrgb(203, 81, 143)
HSLhsl(330, 54%, 56%)
HSVhsv(330, 60%, 80%)
CMYKcmyk(0%, 60.1%, 29.6%, 20.4%)
CIE-LABlab(52.47, 54.60, -9.49)
CIE-LCHlch(52.47, 55.42, 350.15°)
OKLaboklab(61.23% 0.1659 -0.0245)
OKLCHoklch(61.23% 0.168 351.6)
XYZxyz(32.5304, 20.5678, 28.2381)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB518F #51CB8D
analogous
#CA51CB #CB518F #CB5152
triadic
#CB518F #8FCB51 #518FCB
tetradic
#CB518F #CBCA51 #51CB8D #5152CB
square
#CB518F #CBCA51 #51CB8D #5152CB
split-complementary
#CB518F #52CB51 #51CBCA
monochromatic
#7C2552 #AC3370 #CB518F #D980AD #E7AFCC

Accessibility & contrast

On white

4.11
#CB518F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CB518F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB518F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB518F#FFFFFF#000000##000000
##CB518F1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#626F91
Deuteranopia (green-blind)
#83858C
Tritanopia (blue-blind)
#D94B6A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb518f;
/* rgb */ color: rgb(203, 81, 143);
/* oklch */ color: oklch(61.2% 0.168 351.6);
Tailwind
colors: {
  custom: {
    50: '#de88af',
    500: '#cb518f',
    950: '#000000',
  },
}
SCSS
$custom: #cb518f;
$custom-light: #de88af;
$custom-dark: #000000;
JSON
{
  "hex": "#cb518f",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 329.508,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61227,
    "c": 0.16766,
    "h": 351.6
  },
  "luminance": 0.20565
}

Semantic roles & 50–950 ramp

primary
#CB518F
secondary
#A3D5BB
accent
#DD934A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB518F

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

Preview Lab → · Contrast checker → · Palette generator →

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