#CF527E#CF527E

#CF527E is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.4% C 0.163 H 1.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CF527E
RGBrgb(207, 82, 126)
HSLhsl(339, 57%, 57%)
HSVhsv(339, 60%, 81%)
CMYKcmyk(0%, 60.4%, 39.1%, 18.8%)
CIE-LABlab(52.74, 53.40, 1.09)
CIE-LCHlch(52.74, 53.41, 1.17°)
OKLaboklab(61.38% 0.163 0.0035)
OKLCHoklch(61.38% 0.163 1.2)
XYZxyz(32.5173, 20.8100, 22.0389)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF527E #52CFA3
analogous
#CF52BD #CF527E #CF6552
triadic
#CF527E #7ECF52 #527ECF
tetradic
#CF527E #BDCF52 #52CFA3 #6552CF
square
#CF527E #BDCF52 #52CFA3 #6552CF
split-complementary
#CF527E #52CF65 #52BDCF
monochromatic
#822445 #B2315F #CF527E #DC82A2 #EAB2C5

Accessibility & contrast

On white

4.07
#CF527E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CF527E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF527E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF527E#FFFFFF#000000##000000
##CF527E1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#696F7F
Deuteranopia (green-blind)
#8A877B
Tritanopia (blue-blind)
#DF4663
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf527e;
/* rgb */ color: rgb(207, 82, 126);
/* oklch */ color: oklch(61.4% 0.163 1.2);
Tailwind
colors: {
  custom: {
    50: '#e288a3',
    500: '#cf527e',
    950: '#000000',
  },
}
SCSS
$custom: #cf527e;
$custom-light: #e288a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf527e",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 126
  },
  "hsl": {
    "h": 338.88,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61376,
    "c": 0.16303,
    "h": 1.2
  },
  "luminance": 0.20806
}

Semantic roles & 50–950 ramp

primary
#CF527E
secondary
#A5D8C6
accent
#E0AA48
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF527E

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

Preview Lab → · Contrast checker → · Palette generator →

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