#CB507D#CB507D

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

Color values

HEX#CB507D
RGBrgb(203, 80, 125)
HSLhsl(338, 54%, 55%)
HSVhsv(338, 61%, 80%)
CMYKcmyk(0%, 60.6%, 38.4%, 20.4%)
CIE-LABlab(51.74, 52.91, 0.16)
CIE-LCHlch(51.74, 52.91, 0.17°)
OKLaboklab(60.5% 0.1615 0.0011)
OKLCHoklch(60.5% 0.162 0.4)
XYZxyz(31.2008, 19.9180, 21.5995)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB507D #50CB9E
analogous
#CB50BA #CB507D #CB6050
triadic
#CB507D #7DCB50 #507DCB
tetradic
#CB507D #BACB50 #50CB9E #6050CB
square
#CB507D #BACB50 #50CB9E #6050CB
split-complementary
#CB507D #50CB60 #50BACB
monochromatic
#7C2545 #AB335F #CB507D #D97FA0 #E7AEC3

Accessibility & contrast

On white

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

On black

4.98
#CB507D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB507D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB507D#FFFFFF#000000##000000
##CB507D1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D7E
Deuteranopia (green-blind)
#87847A
Tritanopia (blue-blind)
#DB4461
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb507d;
/* rgb */ color: rgb(203, 80, 125);
/* oklch */ color: oklch(60.5% 0.162 0.4);
Tailwind
colors: {
  custom: {
    50: '#df87a2',
    500: '#cb507d',
    950: '#000000',
  },
}
SCSS
$custom: #cb507d;
$custom-light: #df87a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb507d",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 125
  },
  "hsl": {
    "h": 338.049,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.605,
    "c": 0.16152,
    "h": 0.4
  },
  "luminance": 0.19915
}

Semantic roles & 50–950 ramp

primary
#CB507D
secondary
#A2D5C2
accent
#DEA84A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CB507D

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

Preview Lab → · Contrast checker → · Palette generator →

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