#CF478B#CF478B

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

Color values

HEX#CF478B
RGBrgb(207, 71, 139)
HSLhsl(330, 59%, 55%)
HSVhsv(330, 66%, 81%)
CMYKcmyk(0%, 65.7%, 32.9%, 18.8%)
CIE-LABlab(51.43, 59.53, -8.60)
CIE-LCHlch(51.43, 60.15, 351.78°)
OKLaboklab(60.53% 0.1817 -0.022)
OKLCHoklch(60.53% 0.183 353.1)
XYZxyz(32.6473, 19.6396, 26.4926)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF478B #47CF8B
analogous
#CF47CF #CF478B #CF4747
triadic
#CF478B #8BCF47 #478BCF
tetradic
#CF478B #CFCF47 #47CF8B #4747CF
square
#CF478B #CFCF47 #47CF8B #4747CF
split-complementary
#CF478B #47CF47 #47CFCF
monochromatic
#7B204E #AC2D6C #CF478B #DC78AA #E8A8C8

Accessibility & contrast

On white

4.26
#CF478B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CF478B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF478B
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF478B#FFFFFF#000000##000000
##CF478B1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6B8D
Deuteranopia (green-blind)
#828488
Tritanopia (blue-blind)
#DE3E63
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf478b;
/* rgb */ color: rgb(207, 71, 139);
/* oklch */ color: oklch(60.5% 0.183 353.1);
Tailwind
colors: {
  custom: {
    50: '#e283ac',
    500: '#cf478b',
    950: '#000000',
  },
}
SCSS
$custom: #cf478b;
$custom-light: #e283ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf478b",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 330,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60533,
    "c": 0.18307,
    "h": 353.1
  },
  "luminance": 0.19636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF478B

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

Preview Lab → · Contrast checker → · Palette generator →

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