#CB518A#CB518A

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

Color values

HEX#CB518A
RGBrgb(203, 81, 138)
HSLhsl(332, 54%, 56%)
HSVhsv(332, 60%, 80%)
CMYKcmyk(0%, 60.1%, 32%, 20.4%)
CIE-LABlab(52.31, 53.98, -6.76)
CIE-LCHlch(52.31, 54.40, 352.86°)
OKLaboklab(61.05% 0.1644 -0.0172)
OKLCHoklch(61.05% 0.165 354)
XYZxyz(32.1601, 20.4197, 26.2875)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB518A #51CB92
analogous
#CB51C7 #CB518A #CB5551
triadic
#CB518A #8ACB51 #518ACB
tetradic
#CB518A #C7CB51 #51CB92 #5551CB
square
#CB518A #C7CB51 #51CB92 #5551CB
split-complementary
#CB518A #51CB55 #51C7CB
monochromatic
#7C254E #AC336B #CB518A #D980AA #E7AFC9

Accessibility & contrast

On white

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

On black

5.08
#CB518A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB518A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB518A#FFFFFF#000000##000000
##CB518A1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#636F8C
Deuteranopia (green-blind)
#848587
Tritanopia (blue-blind)
#DA4967
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb518a;
/* rgb */ color: rgb(203, 81, 138);
/* oklch */ color: oklch(61.1% 0.165 354.0);
Tailwind
colors: {
  custom: {
    50: '#de88ac',
    500: '#cb518a',
    950: '#000000',
  },
}
SCSS
$custom: #cb518a;
$custom-light: #de88ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb518a",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 138
  },
  "hsl": {
    "h": 331.967,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61051,
    "c": 0.16526,
    "h": 354
  },
  "luminance": 0.20416
}

Semantic roles & 50–950 ramp

primary
#CB518A
secondary
#A3D5BE
accent
#DD994A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB518A

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

Preview Lab → · Contrast checker → · Palette generator →

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