#CF508F#CF508F

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

Color values

HEX#CF508F
RGBrgb(207, 80, 143)
HSLhsl(330, 57%, 56%)
HSVhsv(330, 61%, 81%)
CMYKcmyk(0%, 61.4%, 30.9%, 18.8%)
CIE-LABlab(52.94, 56.25, -8.72)
CIE-LCHlch(52.94, 56.93, 351.18°)
OKLaboklab(61.69% 0.1712 -0.0224)
OKLCHoklch(61.69% 0.173 352.5)
XYZxyz(33.5603, 20.9894, 28.2652)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF508F #50CF90
analogous
#CF50CF #CF508F #CF5150
triadic
#CF508F #8FCF50 #508FCF
tetradic
#CF508F #CFCF50 #50CF90 #5150CF
square
#CF508F #CFCF50 #50CF90 #5150CF
split-complementary
#CF508F #50CF51 #50CFCF
monochromatic
#812352 #B13170 #CF508F #DC80AE #E9B0CC

Accessibility & contrast

On white

4.04
#CF508F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CF508F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF508F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF508F#FFFFFF#000000##000000
##CF508F1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#627091
Deuteranopia (green-blind)
#85878C
Tritanopia (blue-blind)
#DE4969
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf508f;
/* rgb */ color: rgb(207, 80, 143);
/* oklch */ color: oklch(61.7% 0.173 352.5);
Tailwind
colors: {
  custom: {
    50: '#e188af',
    500: '#cf508f',
    950: '#000000',
  },
}
SCSS
$custom: #cf508f;
$custom-light: #e188af;
$custom-dark: #000000;
JSON
{
  "hex": "#cf508f",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 330.236,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61694,
    "c": 0.17265,
    "h": 352.5
  },
  "luminance": 0.20986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF508F

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

Preview Lab → · Contrast checker → · Palette generator →

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