#CF477F#CF477F

#CF477F is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.1% C 0.178 H 358.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CF477F
RGBrgb(207, 71, 127)
HSLhsl(335, 59%, 55%)
HSVhsv(335, 66%, 81%)
CMYKcmyk(0%, 65.7%, 38.6%, 18.8%)
CIE-LABlab(51.05, 58.19, -1.99)
CIE-LCHlch(51.05, 58.22, 358.04°)
OKLaboklab(60.13% 0.1781 -0.0045)
OKLCHoklch(60.13% 0.178 358.6)
XYZxyz(31.8182, 19.3079, 22.1258)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF477F #47CF97
analogous
#CF47C3 #CF477F #CF5347
triadic
#CF477F #7FCF47 #477FCF
tetradic
#CF477F #C3CF47 #47CF97 #5347CF
square
#CF477F #C3CF47 #47CF97 #5347CF
split-complementary
#CF477F #47CF53 #47C3CF
monochromatic
#7B2046 #AC2D61 #CF477F #DC78A1 #E8A8C3

Accessibility & contrast

On white

4.32
#CF477F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CF477F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF477F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF477F#FFFFFF#000000##000000
##CF477F1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#606981
Deuteranopia (green-blind)
#85837C
Tritanopia (blue-blind)
#DF395E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf477f;
/* rgb */ color: rgb(207, 71, 127);
/* oklch */ color: oklch(60.1% 0.178 358.6);
Tailwind
colors: {
  custom: {
    50: '#e282a4',
    500: '#cf477f',
    950: '#000000',
  },
}
SCSS
$custom: #cf477f;
$custom-light: #e282a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf477f",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 335.294,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60126,
    "c": 0.17811,
    "h": 358.6
  },
  "luminance": 0.19304
}

Semantic roles & 50–950 ramp

primary
#CF477F
secondary
#9CD6BE
accent
#E2A246
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CF477F

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

Preview Lab → · Contrast checker → · Palette generator →

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