#CF508E#CF508E

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

Color values

HEX#CF508E
RGBrgb(207, 80, 142)
HSLhsl(331, 57%, 56%)
HSVhsv(331, 61%, 81%)
CMYKcmyk(0%, 61.4%, 31.4%, 18.8%)
CIE-LABlab(52.90, 56.13, -8.18)
CIE-LCHlch(52.90, 56.72, 351.71°)
OKLaboklab(61.66% 0.1709 -0.021)
OKLCHoklch(61.66% 0.172 353)
XYZxyz(33.4849, 20.9592, 27.8680)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF508E #50CF91
analogous
#CF50CE #CF508E #CF5250
triadic
#CF508E #8ECF50 #508ECF
tetradic
#CF508E #CECF50 #50CF91 #5250CF
square
#CF508E #CECF50 #50CF91 #5250CF
split-complementary
#CF508E #50CF52 #50CECF
monochromatic
#812351 #B1316F #CF508E #DC80AD #E9B0CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF508E#FFFFFF#000000##000000
##CF508E1.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)
#637090
Deuteranopia (green-blind)
#86878B
Tritanopia (blue-blind)
#DE4869
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf508e;
/* rgb */ color: rgb(207, 80, 142);
/* oklch */ color: oklch(61.7% 0.172 353.0);
Tailwind
colors: {
  custom: {
    50: '#e188af',
    500: '#cf508e',
    950: '#000000',
  },
}
SCSS
$custom: #cf508e;
$custom-light: #e188af;
$custom-dark: #000000;
JSON
{
  "hex": "#cf508e",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 330.709,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61659,
    "c": 0.17218,
    "h": 353
  },
  "luminance": 0.20956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF508E

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

Preview Lab → · Contrast checker → · Palette generator →

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