#CF508D#CF508D

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

Color values

HEX#CF508D
RGBrgb(207, 80, 141)
HSLhsl(331, 57%, 56%)
HSVhsv(331, 61%, 81%)
CMYKcmyk(0%, 61.4%, 31.9%, 18.8%)
CIE-LABlab(52.87, 56.01, -7.64)
CIE-LCHlch(52.87, 56.53, 352.24°)
OKLaboklab(61.62% 0.1706 -0.0195)
OKLCHoklch(61.62% 0.172 353.5)
XYZxyz(33.4102, 20.9293, 27.4744)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF508D #50CF92
analogous
#CF50CD #CF508D #CF5350
triadic
#CF508D #8DCF50 #508DCF
tetradic
#CF508D #CDCF50 #50CF92 #5350CF
square
#CF508D #CDCF50 #50CF92 #5350CF
split-complementary
#CF508D #50CF53 #50CDCF
monochromatic
#812350 #B1316E #CF508D #DC80AC #E9B0CC

Accessibility & contrast

On white

4.05
#CF508D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#CF508D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF508D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF508D#FFFFFF#000000##000000
##CF508D1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#63708F
Deuteranopia (green-blind)
#86878A
Tritanopia (blue-blind)
#DE4868
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf508d;
/* rgb */ color: rgb(207, 80, 141);
/* oklch */ color: oklch(61.6% 0.172 353.5);
Tailwind
colors: {
  custom: {
    50: '#e188ae',
    500: '#cf508d',
    950: '#000000',
  },
}
SCSS
$custom: #cf508d;
$custom-light: #e188ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cf508d",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 331.181,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61624,
    "c": 0.17171,
    "h": 353.5
  },
  "luminance": 0.20926
}

Semantic roles & 50–950 ramp

primary
#CF508D
secondary
#A3D8BE
accent
#E09748
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF508D

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

Preview Lab → · Contrast checker → · Palette generator →

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