#CF477E#CF477E

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

Color values

HEX#CF477E
RGBrgb(207, 71, 126)
HSLhsl(336, 59%, 55%)
HSVhsv(336, 66%, 81%)
CMYKcmyk(0%, 65.7%, 39.1%, 18.8%)
CIE-LABlab(51.02, 58.08, -1.43)
CIE-LCHlch(51.02, 58.10, 358.59°)
OKLaboklab(60.09% 0.1777 -0.003)
OKLCHoklch(60.09% 0.178 359)
XYZxyz(31.7533, 19.2820, 21.7842)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF477E #47CF98
analogous
#CF47C2 #CF477E #CF5447
triadic
#CF477E #7ECF47 #477ECF
tetradic
#CF477E #C2CF47 #47CF98 #5447CF
square
#CF477E #C2CF47 #47CF98 #5447CF
split-complementary
#CF477E #47CF54 #47C2CF
monochromatic
#7B2045 #AC2D60 #CF477E #DC78A0 #E8A8C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF477E#FFFFFF#000000##000000
##CF477E1.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)
#61697F
Deuteranopia (green-blind)
#85837B
Tritanopia (blue-blind)
#DF395D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf477e;
/* rgb */ color: rgb(207, 71, 126);
/* oklch */ color: oklch(60.1% 0.178 359.0);
Tailwind
colors: {
  custom: {
    50: '#e282a3',
    500: '#cf477e',
    950: '#000000',
  },
}
SCSS
$custom: #cf477e;
$custom-light: #e282a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf477e",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 335.735,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60094,
    "c": 0.17775,
    "h": 359
  },
  "luminance": 0.19278
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF477E

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

Preview Lab → · Contrast checker → · Palette generator →

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