#CF527F#CF527F

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

Color values

HEX#CF527F
RGBrgb(207, 82, 127)
HSLhsl(338, 57%, 57%)
HSVhsv(338, 60%, 81%)
CMYKcmyk(0%, 60.4%, 38.6%, 18.8%)
CIE-LABlab(52.77, 53.51, 0.54)
CIE-LCHlch(52.77, 53.52, 0.57°)
OKLaboklab(61.41% 0.1633 0.0021)
OKLCHoklch(61.41% 0.163 0.7)
XYZxyz(32.5822, 20.8359, 22.3804)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF527F #52CFA2
analogous
#CF52BE #CF527F #CF6452
triadic
#CF527F #7FCF52 #527FCF
tetradic
#CF527F #BECF52 #52CFA2 #6452CF
square
#CF527F #BECF52 #52CFA2 #6452CF
split-complementary
#CF527F #52CF64 #52BECF
monochromatic
#822446 #B23160 #CF527F #DC82A2 #EAB2C6

Accessibility & contrast

On white

4.06
#CF527F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CF527F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF527F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF527F#FFFFFF#000000##000000
##CF527F1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf527f;
/* rgb */ color: rgb(207, 82, 127);
/* oklch */ color: oklch(61.4% 0.163 0.7);
Tailwind
colors: {
  custom: {
    50: '#e288a4',
    500: '#cf527f',
    950: '#000000',
  },
}
SCSS
$custom: #cf527f;
$custom-light: #e288a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf527f",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 127
  },
  "hsl": {
    "h": 338.4,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61406,
    "c": 0.16335,
    "h": 0.7
  },
  "luminance": 0.20832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF527F

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

Preview Lab → · Contrast checker → · Palette generator →

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