#CF508B#CF508B

#CF508B is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.6% C 0.171 H 354.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CF508B
RGBrgb(207, 80, 139)
HSLhsl(332, 57%, 56%)
HSVhsv(332, 61%, 81%)
CMYKcmyk(0%, 61.4%, 32.9%, 18.8%)
CIE-LABlab(52.81, 55.77, -6.55)
CIE-LCHlch(52.81, 56.15, 353.30°)
OKLaboklab(61.55% 0.17 -0.0166)
OKLCHoklch(61.55% 0.171 354.4)
XYZxyz(33.2627, 20.8703, 26.6977)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF508B #50CF94
analogous
#CF50CB #CF508B #CF5550
triadic
#CF508B #8BCF50 #508BCF
tetradic
#CF508B #CBCF50 #50CF94 #5550CF
square
#CF508B #CBCF50 #50CF94 #5550CF
split-complementary
#CF508B #50CF55 #50CBCF
monochromatic
#81234F #B1316C #CF508B #DC80AB #E9B0CB

Accessibility & contrast

On white

4.06
#CF508B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CF508B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF508B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF508B#FFFFFF#000000##000000
##CF508B1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#646F8D
Deuteranopia (green-blind)
#868788
Tritanopia (blue-blind)
#DE4767
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf508b;
/* rgb */ color: rgb(207, 80, 139);
/* oklch */ color: oklch(61.6% 0.171 354.4);
Tailwind
colors: {
  custom: {
    50: '#e288ac',
    500: '#cf508b',
    950: '#000000',
  },
}
SCSS
$custom: #cf508b;
$custom-light: #e288ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf508b",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 332.126,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61554,
    "c": 0.1708,
    "h": 354.4
  },
  "luminance": 0.20867
}

Semantic roles & 50–950 ramp

primary
#CF508B
secondary
#A3D8BF
accent
#E09948
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF508B

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

Preview Lab → · Contrast checker → · Palette generator →

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