#CF507C#CF507C

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

Color values

HEX#CF507C
RGBrgb(207, 80, 124)
HSLhsl(339, 57%, 56%)
HSVhsv(339, 61%, 81%)
CMYKcmyk(0%, 61.4%, 40.1%, 18.8%)
CIE-LABlab(52.36, 54.07, 1.72)
CIE-LCHlch(52.36, 54.10, 1.82°)
OKLaboklab(61.07% 0.1651 0.0051)
OKLCHoklch(61.07% 0.165 1.8)
XYZxyz(32.2409, 20.4616, 21.3165)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF507C #50CFA3
analogous
#CF50BC #CF507C #CF6450
triadic
#CF507C #7CCF50 #507CCF
tetradic
#CF507C #BCCF50 #50CFA3 #6450CF
square
#CF507C #BCCF50 #50CFA3 #6450CF
split-complementary
#CF507C #50CF64 #50BCCF
monochromatic
#812344 #B1315D #CF507C #DC80A0 #E9B0C4

Accessibility & contrast

On white

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

On black

5.09
#CF507C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF507C
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF507C#FFFFFF#000000##000000
##CF507C1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#686E7D
Deuteranopia (green-blind)
#8A8679
Tritanopia (blue-blind)
#DF4361
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf507c;
/* rgb */ color: rgb(207, 80, 124);
/* oklch */ color: oklch(61.1% 0.165 1.8);
Tailwind
colors: {
  custom: {
    50: '#e287a1',
    500: '#cf507c',
    950: '#000000',
  },
}
SCSS
$custom: #cf507c;
$custom-light: #e287a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf507c",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 124
  },
  "hsl": {
    "h": 339.213,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6107,
    "c": 0.16516,
    "h": 1.8
  },
  "luminance": 0.20458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF507C

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

Preview Lab → · Contrast checker → · Palette generator →

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