#CF477B#CF477B

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

Color values

HEX#CF477B
RGBrgb(207, 71, 123)
HSLhsl(337, 59%, 55%)
HSVhsv(337, 66%, 81%)
CMYKcmyk(0%, 65.7%, 40.6%, 18.8%)
CIE-LABlab(50.93, 57.76, 0.24)
CIE-LCHlch(50.93, 57.77, 0.24°)
OKLaboklab(60% 0.1767 0.0013)
OKLCHoklch(60% 0.177 0.4)
XYZxyz(31.5626, 19.2057, 20.7800)
Luminance0.1920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF477B #47CF9B
analogous
#CF47BF #CF477B #CF5747
triadic
#CF477B #7BCF47 #477BCF
tetradic
#CF477B #BFCF47 #47CF9B #5747CF
square
#CF477B #BFCF47 #47CF9B #5747CF
split-complementary
#CF477B #47CF57 #47BFCF
monochromatic
#7B2043 #AC2D5D #CF477B #DC789E #E8A8C1

Accessibility & contrast

On white

4.34
#CF477B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#CF477B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF477B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF477B#FFFFFF#000000##000000
##CF477B1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf477b;
/* rgb */ color: rgb(207, 71, 123);
/* oklch */ color: oklch(60.0% 0.177 0.4);
Tailwind
colors: {
  custom: {
    50: '#e282a1',
    500: '#cf477b',
    950: '#000000',
  },
}
SCSS
$custom: #cf477b;
$custom-light: #e282a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf477b",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 337.059,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59999,
    "c": 0.17672,
    "h": 0.4
  },
  "luminance": 0.19202
}

Semantic roles & 50–950 ramp

primary
#CF477B
secondary
#9CD6C0
accent
#E2A646
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF477B

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

Preview Lab → · Contrast checker → · Palette generator →

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