#CF507F#CF507F

#CF507F is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.2% C 0.166 H 0.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CF507F
RGBrgb(207, 80, 127)
HSLhsl(338, 57%, 56%)
HSVhsv(338, 61%, 81%)
CMYKcmyk(0%, 61.4%, 38.6%, 18.8%)
CIE-LABlab(52.44, 54.40, 0.06)
CIE-LCHlch(52.44, 54.40, 0.06°)
OKLaboklab(61.16% 0.1661 0.0008)
OKLCHoklch(61.16% 0.166 0.3)
XYZxyz(32.4336, 20.5387, 22.3309)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF507F #50CFA0
analogous
#CF50BF #CF507F #CF6150
triadic
#CF507F #7FCF50 #507FCF
tetradic
#CF507F #BFCF50 #50CFA0 #6150CF
square
#CF507F #BFCF50 #50CFA0 #6150CF
split-complementary
#CF507F #50CF61 #50BFCF
monochromatic
#812346 #B13160 #CF507F #DC80A2 #E9B0C5

Accessibility & contrast

On white

4.11
#CF507F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CF507F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF507F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF507F#FFFFFF#000000##000000
##CF507F1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#676E80
Deuteranopia (green-blind)
#89867C
Tritanopia (blue-blind)
#DF4462
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf507f;
/* rgb */ color: rgb(207, 80, 127);
/* oklch */ color: oklch(61.2% 0.166 0.3);
Tailwind
colors: {
  custom: {
    50: '#e287a4',
    500: '#cf507f',
    950: '#000000',
  },
}
SCSS
$custom: #cf507f;
$custom-light: #e287a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf507f",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 127
  },
  "hsl": {
    "h": 337.795,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61162,
    "c": 0.16611,
    "h": 0.3
  },
  "luminance": 0.20535
}

Semantic roles & 50–950 ramp

primary
#CF507F
secondary
#A3D8C4
accent
#E0A848
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF507F

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

Preview Lab → · Contrast checker → · Palette generator →

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