#CF477A#CF477A

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

Color values

HEX#CF477A
RGBrgb(207, 71, 122)
HSLhsl(338, 59%, 55%)
HSVhsv(338, 66%, 81%)
CMYKcmyk(0%, 65.7%, 41.1%, 18.8%)
CIE-LABlab(50.90, 57.66, 0.80)
CIE-LCHlch(50.90, 57.67, 0.80°)
OKLaboklab(59.97% 0.1764 0.0028)
OKLCHoklch(59.97% 0.176 0.9)
XYZxyz(31.5004, 19.1808, 20.4520)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF477A #47CF9C
analogous
#CF47BE #CF477A #CF5847
triadic
#CF477A #7ACF47 #477ACF
tetradic
#CF477A #BECF47 #47CF9C #5847CF
square
#CF477A #BECF47 #47CF9C #5847CF
split-complementary
#CF477A #47CF58 #47BECF
monochromatic
#7B2042 #AC2D5D #CF477A #DC789D #E8A8C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF477A#FFFFFF#000000##000000
##CF477A1.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)
#62697B
Deuteranopia (green-blind)
#868377
Tritanopia (blue-blind)
#E0375B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf477a;
/* rgb */ color: rgb(207, 71, 122);
/* oklch */ color: oklch(60.0% 0.176 0.9);
Tailwind
colors: {
  custom: {
    50: '#e282a0',
    500: '#cf477a',
    950: '#000000',
  },
}
SCSS
$custom: #cf477a;
$custom-light: #e282a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf477a",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 337.5,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59969,
    "c": 0.1764,
    "h": 0.9
  },
  "luminance": 0.19177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF477A

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

Preview Lab → · Contrast checker → · Palette generator →

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