#CF507D#CF507D

#CF507D is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.1% C 0.165 H 1.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CF507D
RGBrgb(207, 80, 125)
HSLhsl(339, 57%, 56%)
HSVhsv(339, 61%, 81%)
CMYKcmyk(0%, 61.4%, 39.6%, 18.8%)
CIE-LABlab(52.38, 54.18, 1.17)
CIE-LCHlch(52.38, 54.19, 1.23°)
OKLaboklab(61.1% 0.1654 0.0037)
OKLCHoklch(61.1% 0.165 1.3)
XYZxyz(32.3045, 20.4870, 21.6512)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF507D #50CFA2
analogous
#CF50BD #CF507D #CF6350
triadic
#CF507D #7DCF50 #507DCF
tetradic
#CF507D #BDCF50 #50CFA2 #6350CF
square
#CF507D #BDCF50 #50CFA2 #6350CF
split-complementary
#CF507D #50CF63 #50BDCF
monochromatic
#812345 #B1315E #CF507D #DC80A1 #E9B0C4

Accessibility & contrast

On white

4.12
#CF507D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CF507D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF507D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF507D#FFFFFF#000000##000000
##CF507D1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#686E7E
Deuteranopia (green-blind)
#89867A
Tritanopia (blue-blind)
#DF4361
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf507d;
/* rgb */ color: rgb(207, 80, 125);
/* oklch */ color: oklch(61.1% 0.165 1.3);
Tailwind
colors: {
  custom: {
    50: '#e287a2',
    500: '#cf507d',
    950: '#000000',
  },
}
SCSS
$custom: #cf507d;
$custom-light: #e287a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf507d",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 125
  },
  "hsl": {
    "h": 338.74,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.611,
    "c": 0.16546,
    "h": 1.3
  },
  "luminance": 0.20483
}

Semantic roles & 50–950 ramp

primary
#CF507D
secondary
#A3D8C5
accent
#E0AA48
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CF507D

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

Preview Lab → · Contrast checker → · Palette generator →

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