#CF508C#CF508C

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

Color values

HEX#CF508C
RGBrgb(207, 80, 140)
HSLhsl(332, 57%, 56%)
HSVhsv(332, 61%, 81%)
CMYKcmyk(0%, 61.4%, 32.4%, 18.8%)
CIE-LABlab(52.84, 55.89, -7.09)
CIE-LCHlch(52.84, 56.34, 352.77°)
OKLaboklab(61.59% 0.1703 -0.018)
OKLCHoklch(61.59% 0.171 354)
XYZxyz(33.3361, 20.8997, 27.0843)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF508C #50CF93
analogous
#CF50CB #CF508C #CF5450
triadic
#CF508C #8CCF50 #508CCF
tetradic
#CF508C #CBCF50 #50CF93 #5450CF
square
#CF508C #CBCF50 #50CF93 #5450CF
split-complementary
#CF508C #50CF54 #50CBCF
monochromatic
#812350 #B1316D #CF508C #DC80AC #E9B0CB

Accessibility & contrast

On white

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

On black

5.18
#CF508C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF508C
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF508C#FFFFFF#000000##000000
##CF508C1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#63708E
Deuteranopia (green-blind)
#868789
Tritanopia (blue-blind)
#DE4868
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf508c;
/* rgb */ color: rgb(207, 80, 140);
/* oklch */ color: oklch(61.6% 0.171 354.0);
Tailwind
colors: {
  custom: {
    50: '#e188ad',
    500: '#cf508c',
    950: '#000000',
  },
}
SCSS
$custom: #cf508c;
$custom-light: #e188ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cf508c",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 331.654,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61589,
    "c": 0.17125,
    "h": 354
  },
  "luminance": 0.20896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF508C

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

Preview Lab → · Contrast checker → · Palette generator →

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