#CB508F#CB508F

#CB508F is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.1% C 0.169 H 351.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CB508F
RGBrgb(203, 80, 143)
HSLhsl(329, 54%, 55%)
HSVhsv(329, 61%, 80%)
CMYKcmyk(0%, 60.6%, 29.6%, 20.4%)
CIE-LABlab(52.31, 55.05, -9.73)
CIE-LCHlch(52.31, 55.90, 349.97°)
OKLaboklab(61.11% 0.1672 -0.0252)
OKLCHoklch(61.11% 0.169 351.4)
XYZxyz(32.4566, 20.4203, 28.2135)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB508F #50CB8C
analogous
#C950CB #CB508F #CB5051
triadic
#CB508F #8FCB50 #508FCB
tetradic
#CB508F #CBC950 #50CB8C #5051CB
square
#CB508F #CBC950 #50CB8C #5051CB
split-complementary
#CB508F #51CB50 #50CBC9
monochromatic
#7C2551 #AB3370 #CB508F #D97FAD #E7AECB

Accessibility & contrast

On white

4.13
#CB508F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CB508F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB508F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB508F#FFFFFF#000000##000000
##CB508F1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#616F91
Deuteranopia (green-blind)
#83858C
Tritanopia (blue-blind)
#D94A69
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb508f;
/* rgb */ color: rgb(203, 80, 143);
/* oklch */ color: oklch(61.1% 0.169 351.4);
Tailwind
colors: {
  custom: {
    50: '#de87af',
    500: '#cb508f',
    950: '#000000',
  },
}
SCSS
$custom: #cb508f;
$custom-light: #de87af;
$custom-dark: #000000;
JSON
{
  "hex": "#cb508f",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 329.268,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61106,
    "c": 0.16911,
    "h": 351.4
  },
  "luminance": 0.20417
}

Semantic roles & 50–950 ramp

primary
#CB508F
secondary
#A2D5BB
accent
#DE924A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB508F

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

Preview Lab → · Contrast checker → · Palette generator →

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