#CF479C#CF479C

#CF479C is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.2% C 0.192 H 345.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CF479C
RGBrgb(207, 71, 156)
HSLhsl(323, 59%, 55%)
HSVhsv(323, 66%, 81%)
CMYKcmyk(0%, 65.7%, 24.6%, 18.8%)
CIE-LABlab(52.04, 61.64, -17.78)
CIE-LCHlch(52.04, 64.15, 343.91°)
OKLaboklab(61.18% 0.1861 -0.0471)
OKLCHoklch(61.18% 0.192 345.8)
XYZxyz(33.9874, 20.1756, 33.5504)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF479C #47CF7A
analogous
#BE47CF #CF479C #CF4758
triadic
#CF479C #9CCF47 #479CCF
tetradic
#CF479C #CFBE47 #47CF7A #4758CF
square
#CF479C #CFBE47 #47CF7A #4758CF
split-complementary
#CF479C #58CF47 #47CFBE
monochromatic
#7B2059 #AC2D7C #CF479C #DC78B6 #E8A8D0

Accessibility & contrast

On white

4.17
#CF479C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CF479C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF479C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF479C#FFFFFF#000000##000000
##CF479C1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#566D9E
Deuteranopia (green-blind)
#7E8599
Tritanopia (blue-blind)
#DC456B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf479c;
/* rgb */ color: rgb(207, 71, 156);
/* oklch */ color: oklch(61.2% 0.192 345.8);
Tailwind
colors: {
  custom: {
    50: '#e183b9',
    500: '#cf479c',
    950: '#000000',
  },
}
SCSS
$custom: #cf479c;
$custom-light: #e183b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf479c",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 156
  },
  "hsl": {
    "h": 322.5,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6118,
    "c": 0.19201,
    "h": 345.8
  },
  "luminance": 0.20172
}

Semantic roles & 50–950 ramp

primary
#CF479C
secondary
#9CD6B2
accent
#E28046
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CF479C

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

Preview Lab → · Contrast checker → · Palette generator →

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