#CB507F#CB507F

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

Color values

HEX#CB507F
RGBrgb(203, 80, 127)
HSLhsl(337, 54%, 55%)
HSVhsv(337, 61%, 80%)
CMYKcmyk(0%, 60.6%, 37.4%, 20.4%)
CIE-LABlab(51.80, 53.14, -0.95)
CIE-LCHlch(51.80, 53.15, 358.97°)
OKLaboklab(60.56% 0.1622 -0.0018)
OKLCHoklch(60.56% 0.162 359.4)
XYZxyz(31.3299, 19.9696, 22.2792)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB507F #50CB9C
analogous
#CB50BD #CB507F #CB5E50
triadic
#CB507F #7FCB50 #507FCB
tetradic
#CB507F #BDCB50 #50CB9C #5E50CB
square
#CB507F #BDCB50 #50CB9C #5E50CB
split-complementary
#CB507F #50CB5E #50BDCB
monochromatic
#7C2546 #AB3361 #CB507F #D97FA2 #E7AEC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB507F#FFFFFF#000000##000000
##CB507F1.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)
#666D80
Deuteranopia (green-blind)
#86847C
Tritanopia (blue-blind)
#DB4562
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb507f;
/* rgb */ color: rgb(203, 80, 127);
/* oklch */ color: oklch(60.6% 0.162 359.4);
Tailwind
colors: {
  custom: {
    50: '#df87a4',
    500: '#cb507f',
    950: '#000000',
  },
}
SCSS
$custom: #cb507f;
$custom-light: #df87a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb507f",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 127
  },
  "hsl": {
    "h": 337.073,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60563,
    "c": 0.16221,
    "h": 359.4
  },
  "luminance": 0.19966
}

Semantic roles & 50–950 ramp

primary
#CB507F
secondary
#A2D5C1
accent
#DEA54A
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB507F

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

Preview Lab → · Contrast checker → · Palette generator →

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