#CF478A#CF478A

#CF478A is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.5% C 0.183 H 353.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CF478A
RGBrgb(207, 71, 138)
HSLhsl(330, 59%, 55%)
HSVhsv(330, 66%, 81%)
CMYKcmyk(0%, 65.7%, 33.3%, 18.8%)
CIE-LABlab(51.39, 59.41, -8.06)
CIE-LCHlch(51.39, 59.96, 352.28°)
OKLaboklab(60.5% 0.1815 -0.0206)
OKLCHoklch(60.5% 0.183 353.5)
XYZxyz(32.5746, 19.6105, 26.1096)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF478A #47CF8C
analogous
#CF47CE #CF478A #CF4847
triadic
#CF478A #8ACF47 #478ACF
tetradic
#CF478A #CECF47 #47CF8C #4847CF
square
#CF478A #CECF47 #47CF8C #4847CF
split-complementary
#CF478A #47CF48 #47CECF
monochromatic
#7B204D #AC2D6B #CF478A #DC78A9 #E8A8C8

Accessibility & contrast

On white

4.27
#CF478A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CF478A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF478A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF478A#FFFFFF#000000##000000
##CF478A1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6B8C
Deuteranopia (green-blind)
#838487
Tritanopia (blue-blind)
#DE3D63
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf478a;
/* rgb */ color: rgb(207, 71, 138);
/* oklch */ color: oklch(60.5% 0.183 353.5);
Tailwind
colors: {
  custom: {
    50: '#e283ac',
    500: '#cf478a',
    950: '#000000',
  },
}
SCSS
$custom: #cf478a;
$custom-light: #e283ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf478a",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 330.441,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60498,
    "c": 0.18261,
    "h": 353.5
  },
  "luminance": 0.19607
}

Semantic roles & 50–950 ramp

primary
#CF478A
secondary
#9CD6B9
accent
#E29546
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CF478A

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

Preview Lab → · Contrast checker → · Palette generator →

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