#CF507B#CF507B

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

Color values

HEX#CF507B
RGBrgb(207, 80, 123)
HSLhsl(340, 57%, 56%)
HSVhsv(340, 61%, 81%)
CMYKcmyk(0%, 61.4%, 40.6%, 18.8%)
CIE-LABlab(52.33, 53.97, 2.28)
CIE-LCHlch(52.33, 54.01, 2.42°)
OKLaboklab(61.04% 0.1647 0.0065)
OKLCHoklch(61.04% 0.165 2.3)
XYZxyz(32.1780, 20.4365, 20.9851)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF507B #50CFA4
analogous
#CF50BB #CF507B #CF6550
triadic
#CF507B #7BCF50 #507BCF
tetradic
#CF507B #BBCF50 #50CFA4 #6550CF
square
#CF507B #BBCF50 #50CFA4 #6550CF
split-complementary
#CF507B #50CF65 #50BBCF
monochromatic
#812343 #B1315C #CF507B #DC809F #E9B0C3

Accessibility & contrast

On white

4.13
#CF507B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF507B#FFFFFF#000000##000000
##CF507B1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#686D7C
Deuteranopia (green-blind)
#8A8678
Tritanopia (blue-blind)
#E04261
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf507b;
/* rgb */ color: rgb(207, 80, 123);
/* oklch */ color: oklch(61.0% 0.165 2.3);
Tailwind
colors: {
  custom: {
    50: '#e287a1',
    500: '#cf507b',
    950: '#000000',
  },
}
SCSS
$custom: #cf507b;
$custom-light: #e287a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf507b",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 123
  },
  "hsl": {
    "h": 339.685,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6104,
    "c": 0.16486,
    "h": 2.3
  },
  "luminance": 0.20433
}

Semantic roles & 50–950 ramp

primary
#CF507B
secondary
#A3D8C6
accent
#E0AD48
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF507B

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

Preview Lab → · Contrast checker → · Palette generator →

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