#CF508A#CF508A

#CF508A is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.5% C 0.170 H 354.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CF508A
RGBrgb(207, 80, 138)
HSLhsl(333, 57%, 56%)
HSVhsv(333, 61%, 81%)
CMYKcmyk(0%, 61.4%, 33.3%, 18.8%)
CIE-LABlab(52.78, 55.65, -6.00)
CIE-LCHlch(52.78, 55.97, 353.85°)
OKLaboklab(61.52% 0.1697 -0.0151)
OKLCHoklch(61.52% 0.17 354.9)
XYZxyz(33.1900, 20.8412, 26.3147)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF508A #50CF95
analogous
#CF50CA #CF508A #CF5650
triadic
#CF508A #8ACF50 #508ACF
tetradic
#CF508A #CACF50 #50CF95 #5650CF
square
#CF508A #CACF50 #50CF95 #5650CF
split-complementary
#CF508A #50CF56 #50CACF
monochromatic
#81234E #B1316B #CF508A #DC80AA #E9B0CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF508A#FFFFFF#000000##000000
##CF508A1.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)
#646F8C
Deuteranopia (green-blind)
#868787
Tritanopia (blue-blind)
#DE4767
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf508a;
/* rgb */ color: rgb(207, 80, 138);
/* oklch */ color: oklch(61.5% 0.170 354.9);
Tailwind
colors: {
  custom: {
    50: '#e288ac',
    500: '#cf508a',
    950: '#000000',
  },
}
SCSS
$custom: #cf508a;
$custom-light: #e288ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf508a",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 332.598,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6152,
    "c": 0.17036,
    "h": 354.9
  },
  "luminance": 0.20838
}

Semantic roles & 50–950 ramp

primary
#CF508A
secondary
#A3D8C0
accent
#E09B48
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF508A

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

Preview Lab → · Contrast checker → · Palette generator →

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