#CB507E#CB507E

#CB507E is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.5% C 0.162 H 359.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CB507E
RGBrgb(203, 80, 126)
HSLhsl(338, 54%, 55%)
HSVhsv(338, 61%, 80%)
CMYKcmyk(0%, 60.6%, 37.9%, 20.4%)
CIE-LABlab(51.77, 53.02, -0.40)
CIE-LCHlch(51.77, 53.03, 359.57°)
OKLaboklab(60.53% 0.1619 -0.0004)
OKLCHoklch(60.53% 0.162 359.9)
XYZxyz(31.2650, 19.9436, 21.9376)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB507E #50CB9D
analogous
#CB50BB #CB507E #CB5F50
triadic
#CB507E #7ECB50 #507ECB
tetradic
#CB507E #BBCB50 #50CB9D #5F50CB
square
#CB507E #BBCB50 #50CB9D #5F50CB
split-complementary
#CB507E #50CB5F #50BBCB
monochromatic
#7C2545 #AB3360 #CB507E #D97FA1 #E7AEC4

Accessibility & contrast

On white

4.21
#CB507E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CB507E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB507E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB507E#FFFFFF#000000##000000
##CB507E1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D7F
Deuteranopia (green-blind)
#87847B
Tritanopia (blue-blind)
#DB4462
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb507e;
/* rgb */ color: rgb(203, 80, 126);
/* oklch */ color: oklch(60.5% 0.162 359.9);
Tailwind
colors: {
  custom: {
    50: '#df87a3',
    500: '#cb507e',
    950: '#000000',
  },
}
SCSS
$custom: #cb507e;
$custom-light: #df87a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb507e",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 126
  },
  "hsl": {
    "h": 337.561,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60532,
    "c": 0.16186,
    "h": 359.9
  },
  "luminance": 0.1994
}

Semantic roles & 50–950 ramp

primary
#CB507E
secondary
#A2D5C2
accent
#DEA64A
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB507E

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

Preview Lab → · Contrast checker → · Palette generator →

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