#CB507B#CB507B

#CB507B is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.4% C 0.161 H 1.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CB507B
RGBrgb(203, 80, 123)
HSLhsl(339, 54%, 55%)
HSVhsv(339, 61%, 80%)
CMYKcmyk(0%, 60.6%, 39.4%, 20.4%)
CIE-LABlab(51.69, 52.69, 1.27)
CIE-LCHlch(51.69, 52.71, 1.38°)
OKLaboklab(60.44% 0.1608 0.0039)
OKLCHoklch(60.44% 0.161 1.4)
XYZxyz(31.0744, 19.8674, 20.9334)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB507B #50CBA0
analogous
#CB50B9 #CB507B #CB6250
triadic
#CB507B #7BCB50 #507BCB
tetradic
#CB507B #B9CB50 #50CBA0 #6250CB
square
#CB507B #B9CB50 #50CBA0 #6250CB
split-complementary
#CB507B #50CB62 #50B9CB
monochromatic
#7C2543 #AB335D #CB507B #D97F9F #E7AEC2

Accessibility & contrast

On white

4.22
#CB507B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CB507B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB507B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB507B#FFFFFF#000000##000000
##CB507B1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#676C7C
Deuteranopia (green-blind)
#878478
Tritanopia (blue-blind)
#DB4461
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb507b;
/* rgb */ color: rgb(203, 80, 123);
/* oklch */ color: oklch(60.4% 0.161 1.4);
Tailwind
colors: {
  custom: {
    50: '#df87a1',
    500: '#cb507b',
    950: '#000000',
  },
}
SCSS
$custom: #cb507b;
$custom-light: #df87a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb507b",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 123
  },
  "hsl": {
    "h": 339.024,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60439,
    "c": 0.16088,
    "h": 1.4
  },
  "luminance": 0.19864
}

Semantic roles & 50–950 ramp

primary
#CB507B
secondary
#A2D5C3
accent
#DEAA4A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CB507B

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

Preview Lab → · Contrast checker → · Palette generator →

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