#CF477C#CF477C

#CF477C is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.0% C 0.177 H 360.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CF477C
RGBrgb(207, 71, 124)
HSLhsl(337, 59%, 55%)
HSVhsv(337, 66%, 81%)
CMYKcmyk(0%, 65.7%, 40.1%, 18.8%)
CIE-LABlab(50.96, 57.87, -0.32)
CIE-LCHlch(50.96, 57.87, 359.69°)
OKLaboklab(60.03% 0.1771 -0.0001)
OKLCHoklch(60.03% 0.177 0)
XYZxyz(31.6256, 19.2309, 21.1114)
Luminance0.1923 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF477C #47CF9A
analogous
#CF47C0 #CF477C #CF5647
triadic
#CF477C #7CCF47 #477CCF
tetradic
#CF477C #C0CF47 #47CF9A #5647CF
square
#CF477C #C0CF47 #47CF9A #5647CF
split-complementary
#CF477C #47CF56 #47C0CF
monochromatic
#7B2044 #AC2D5E #CF477C #DC789F #E8A8C1

Accessibility & contrast

On white

4.33
#CF477C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CF477C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF477C
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF477C#FFFFFF#000000##000000
##CF477C1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#61697D
Deuteranopia (green-blind)
#868379
Tritanopia (blue-blind)
#E0385C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf477c;
/* rgb */ color: rgb(207, 71, 124);
/* oklch */ color: oklch(60.0% 0.177 360.0);
Tailwind
colors: {
  custom: {
    50: '#e282a1',
    500: '#cf477c',
    950: '#000000',
  },
}
SCSS
$custom: #cf477c;
$custom-light: #e282a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf477c",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 336.618,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60031,
    "c": 0.17706,
    "h": 360
  },
  "luminance": 0.19227
}

Semantic roles & 50–950 ramp

primary
#CF477C
secondary
#9CD6BF
accent
#E2A546
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CF477C

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

Preview Lab → · Contrast checker → · Palette generator →

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