#CF509C#CF509C

#CF509C is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.2% C 0.180 H 346.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CF509C
RGBrgb(207, 80, 156)
HSLhsl(324, 57%, 56%)
HSVhsv(324, 61%, 81%)
CMYKcmyk(0%, 61.4%, 24.6%, 18.8%)
CIE-LABlab(53.39, 57.92, -15.72)
CIE-LCHlch(53.39, 60.02, 344.82°)
OKLaboklab(62.18% 0.1747 -0.0415)
OKLCHoklch(62.18% 0.18 346.6)
XYZxyz(34.6028, 21.4064, 33.7555)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF509C #50CF83
analogous
#C250CF #CF509C #CF505D
triadic
#CF509C #9CCF50 #509CCF
tetradic
#CF509C #CFC250 #50CF83 #505DCF
square
#CF509C #CFC250 #50CF83 #505DCF
split-complementary
#CF509C #5DCF50 #50CFC2
monochromatic
#81235C #B1317E #CF509C #DC80B7 #E9B0D2

Accessibility & contrast

On white

3.98
#CF509C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CF509C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF509C
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF509C#FFFFFF#000000##000000
##CF509C1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E729E
Deuteranopia (green-blind)
#828899
Tritanopia (blue-blind)
#DC4D6F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf509c;
/* rgb */ color: rgb(207, 80, 156);
/* oklch */ color: oklch(62.2% 0.180 346.6);
Tailwind
colors: {
  custom: {
    50: '#e188b9',
    500: '#cf509c',
    950: '#000000',
  },
}
SCSS
$custom: #cf509c;
$custom-light: #e188b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf509c",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 156
  },
  "hsl": {
    "h": 324.094,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62178,
    "c": 0.1796,
    "h": 346.6
  },
  "luminance": 0.21403
}

Semantic roles & 50–950 ramp

primary
#CF509C
secondary
#A3D8B8
accent
#E08548
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF509C

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

Preview Lab → · Contrast checker → · Palette generator →

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