#CF509F#CF509F

#CF509F is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.3% C 0.181 H 345.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#CF509F
RGBrgb(207, 80, 159)
HSLhsl(323, 57%, 56%)
HSVhsv(323, 61%, 81%)
CMYKcmyk(0%, 61.4%, 23.2%, 18.8%)
CIE-LABlab(53.50, 58.32, -17.32)
CIE-LCHlch(53.50, 60.84, 343.46°)
OKLaboklab(62.3% 0.1755 -0.0459)
OKLCHoklch(62.3% 0.181 345.3)
XYZxyz(34.8600, 21.5092, 35.1099)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF509F #50CF80
analogous
#C050CF #CF509F #CF5060
triadic
#CF509F #9FCF50 #509FCF
tetradic
#CF509F #CFC050 #50CF80 #5060CF
square
#CF509F #CFC050 #50CF80 #5060CF
split-complementary
#CF509F #60CF50 #50CFC0
monochromatic
#81235E #B13181 #CF509F #DC80B9 #E9B0D4

Accessibility & contrast

On white

3.96
#CF509F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#CF509F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF509F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF509F#FFFFFF#000000##000000
##CF509F1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D72A1
Deuteranopia (green-blind)
#81889C
Tritanopia (blue-blind)
#DC4E71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cf509f;
/* rgb */ color: rgb(207, 80, 159);
/* oklch */ color: oklch(62.3% 0.181 345.3);
Tailwind
colors: {
  custom: {
    50: '#e188bb',
    500: '#cf509f',
    950: '#000000',
  },
}
SCSS
$custom: #cf509f;
$custom-light: #e188bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf509f",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 159
  },
  "hsl": {
    "h": 322.677,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62297,
    "c": 0.18138,
    "h": 345.3
  },
  "luminance": 0.21506
}

Semantic roles & 50–950 ramp

primary
#CF509F
secondary
#A3D8B7
accent
#E08148
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF509F

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

Preview Lab → · Contrast checker → · Palette generator →

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