#CF479E#CF479E

#CF479E is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.3% C 0.193 H 345.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CF479E
RGBrgb(207, 71, 158)
HSLhsl(322, 59%, 55%)
HSVhsv(322, 66%, 81%)
CMYKcmyk(0%, 65.7%, 23.7%, 18.8%)
CIE-LABlab(52.11, 61.90, -18.85)
CIE-LCHlch(52.11, 64.71, 343.07°)
OKLaboklab(61.26% 0.1866 -0.0501)
OKLCHoklch(61.26% 0.193 345)
XYZxyz(34.1582, 20.2439, 34.4497)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF479E #47CF78
analogous
#BC47CF #CF479E #CF475A
triadic
#CF479E #9ECF47 #479ECF
tetradic
#CF479E #CFBC47 #47CF78 #475ACF
square
#CF479E #CFBC47 #47CF78 #475ACF
split-complementary
#CF479E #5ACF47 #47CFBC
monochromatic
#7B205B #AC2D7E #CF479E #DC78B8 #E8A8D1

Accessibility & contrast

On white

4.16
#CF479E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CF479E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF479E
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF479E#FFFFFF#000000##000000
##CF479E1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#556EA1
Deuteranopia (green-blind)
#7D859B
Tritanopia (blue-blind)
#DC456C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf479e;
/* rgb */ color: rgb(207, 71, 158);
/* oklch */ color: oklch(61.3% 0.193 345.0);
Tailwind
colors: {
  custom: {
    50: '#e183ba',
    500: '#cf479e',
    950: '#000000',
  },
}
SCSS
$custom: #cf479e;
$custom-light: #e183ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cf479e",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 158
  },
  "hsl": {
    "h": 321.618,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61261,
    "c": 0.19319,
    "h": 345
  },
  "luminance": 0.2024
}

Semantic roles & 50–950 ramp

primary
#CF479E
secondary
#9CD6B1
accent
#E27E46
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CF479E

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

Preview Lab → · Contrast checker → · Palette generator →

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