#CF46A4#CF46A4

#CF46A4 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.4% C 0.198 H 342.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CF46A4
RGBrgb(207, 70, 164)
HSLhsl(319, 59%, 54%)
HSVhsv(319, 66%, 81%)
CMYKcmyk(0%, 66.2%, 20.8%, 18.8%)
CIE-LABlab(52.21, 63.10, -22.24)
CIE-LCHlch(52.21, 66.90, 340.59°)
OKLaboklab(61.41% 0.189 -0.0595)
OKLCHoklch(61.41% 0.198 342.5)
XYZxyz(34.6242, 20.3294, 37.2152)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF46A4 #46CF71
analogous
#B546CF #CF46A4 #CF4660
triadic
#CF46A4 #A4CF46 #46A4CF
tetradic
#CF46A4 #CFB546 #46CF71 #4660CF
square
#CF46A4 #CFB546 #46CF71 #4660CF
split-complementary
#CF46A4 #60CF46 #46CFB5
monochromatic
#7B205E #AB2C84 #CF46A4 #DC77BC #E8A7D4

Accessibility & contrast

On white

4.15
#CF46A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CF46A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF46A4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF46A4#FFFFFF#000000##000000
##CF46A41.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#526EA7
Deuteranopia (green-blind)
#7B85A1
Tritanopia (blue-blind)
#DC476F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf46a4;
/* rgb */ color: rgb(207, 70, 164);
/* oklch */ color: oklch(61.4% 0.198 342.5);
Tailwind
colors: {
  custom: {
    50: '#e183bf',
    500: '#cf46a4',
    950: '#000000',
  },
}
SCSS
$custom: #cf46a4;
$custom-light: #e183bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf46a4",
  "rgb": {
    "r": 207,
    "g": 70,
    "b": 164
  },
  "hsl": {
    "h": 318.832,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61409,
    "c": 0.19819,
    "h": 342.5
  },
  "luminance": 0.20326
}

Semantic roles & 50–950 ramp

primary
#CF46A4
secondary
#9BD5AE
accent
#E27746
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF46A4

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

Preview Lab → · Contrast checker → · Palette generator →

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