#CB518E#CB518E

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

Color values

HEX#CB518E
RGBrgb(203, 81, 142)
HSLhsl(330, 54%, 56%)
HSVhsv(330, 60%, 80%)
CMYKcmyk(0%, 60.1%, 30%, 20.4%)
CIE-LABlab(52.44, 54.48, -8.94)
CIE-LCHlch(52.44, 55.21, 350.68°)
OKLaboklab(61.19% 0.1656 -0.023)
OKLCHoklch(61.19% 0.167 352.1)
XYZxyz(32.4550, 20.5376, 27.8409)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB518E #51CB8E
analogous
#CB51CB #CB518E #CB5151
triadic
#CB518E #8ECB51 #518ECB
tetradic
#CB518E #CBCB51 #51CB8E #5151CB
square
#CB518E #CBCB51 #51CB8E #5151CB
split-complementary
#CB518E #51CB51 #51CBCB
monochromatic
#7C2551 #AC336F #CB518E #D980AD #E7AFCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB518E#FFFFFF#000000##000000
##CB518E1.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)
#626F90
Deuteranopia (green-blind)
#83858B
Tritanopia (blue-blind)
#D94B69
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb518e;
/* rgb */ color: rgb(203, 81, 142);
/* oklch */ color: oklch(61.2% 0.167 352.1);
Tailwind
colors: {
  custom: {
    50: '#de88af',
    500: '#cb518e',
    950: '#000000',
  },
}
SCSS
$custom: #cb518e;
$custom-light: #de88af;
$custom-dark: #000000;
JSON
{
  "hex": "#cb518e",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 330,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61191,
    "c": 0.16717,
    "h": 352.1
  },
  "luminance": 0.20534
}

Semantic roles & 50–950 ramp

primary
#CB518E
secondary
#A3D5BC
accent
#DD944A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB518E

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

Preview Lab → · Contrast checker → · Palette generator →

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