#CF478D#CF478D

#CF478D is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.6% C 0.184 H 352.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CF478D
RGBrgb(207, 71, 141)
HSLhsl(329, 59%, 55%)
HSVhsv(329, 66%, 81%)
CMYKcmyk(0%, 65.7%, 31.9%, 18.8%)
CIE-LABlab(51.49, 59.77, -9.70)
CIE-LCHlch(51.49, 60.55, 350.78°)
OKLaboklab(60.61% 0.1823 -0.025)
OKLCHoklch(60.61% 0.184 352.2)
XYZxyz(32.7948, 19.6985, 27.2693)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF478D #47CF89
analogous
#CD47CF #CF478D #CF4749
triadic
#CF478D #8DCF47 #478DCF
tetradic
#CF478D #CFCD47 #47CF89 #4749CF
square
#CF478D #CFCD47 #47CF89 #4749CF
split-complementary
#CF478D #49CF47 #47CFCD
monochromatic
#7B204F #AC2D6E #CF478D #DC78AB #E8A8C9

Accessibility & contrast

On white

4.25
#CF478D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CF478D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF478D
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF478D#FFFFFF#000000##000000
##CF478D1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6B8F
Deuteranopia (green-blind)
#82848A
Tritanopia (blue-blind)
#DE3F64
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf478d;
/* rgb */ color: rgb(207, 71, 141);
/* oklch */ color: oklch(60.6% 0.184 352.2);
Tailwind
colors: {
  custom: {
    50: '#e283ae',
    500: '#cf478d',
    950: '#000000',
  },
}
SCSS
$custom: #cf478d;
$custom-light: #e283ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cf478d",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 329.118,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60605,
    "c": 0.18401,
    "h": 352.2
  },
  "luminance": 0.19695
}

Semantic roles & 50–950 ramp

primary
#CF478D
secondary
#9CD6B8
accent
#E29246
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CF478D

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

Preview Lab → · Contrast checker → · Palette generator →

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