#CF478F#CF478F

#CF478F is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.7% C 0.185 H 351.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CF478F
RGBrgb(207, 71, 143)
HSLhsl(328, 59%, 55%)
HSVhsv(328, 66%, 81%)
CMYKcmyk(0%, 65.7%, 30.9%, 18.8%)
CIE-LABlab(51.56, 60.01, -10.79)
CIE-LCHlch(51.56, 60.97, 349.81°)
OKLaboklab(60.68% 0.1829 -0.0279)
OKLCHoklch(60.68% 0.185 351.3)
XYZxyz(32.9449, 19.7586, 28.0601)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF478F #47CF87
analogous
#CB47CF #CF478F #CF474B
triadic
#CF478F #8FCF47 #478FCF
tetradic
#CF478F #CFCB47 #47CF87 #474BCF
square
#CF478F #CFCB47 #47CF87 #474BCF
split-complementary
#CF478F #4BCF47 #47CFCB
monochromatic
#7B2050 #AC2D70 #CF478F #DC78AD #E8A8CA

Accessibility & contrast

On white

4.24
#CF478F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CF478F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF478F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF478F#FFFFFF#000000##000000
##CF478F1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6B91
Deuteranopia (green-blind)
#81848C
Tritanopia (blue-blind)
#DE3F65
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf478f;
/* rgb */ color: rgb(207, 71, 143);
/* oklch */ color: oklch(60.7% 0.185 351.3);
Tailwind
colors: {
  custom: {
    50: '#e283af',
    500: '#cf478f',
    950: '#000000',
  },
}
SCSS
$custom: #cf478f;
$custom-light: #e283af;
$custom-dark: #000000;
JSON
{
  "hex": "#cf478f",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 328.235,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60678,
    "c": 0.18498,
    "h": 351.3
  },
  "luminance": 0.19755
}

Semantic roles & 50–950 ramp

primary
#CF478F
secondary
#9CD6B7
accent
#E28F46
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CF478F

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

Preview Lab → · Contrast checker → · Palette generator →

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