#CF46A6#CF46A6

#CF46A6 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.5% C 0.199 H 341.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CF46A6
RGBrgb(207, 70, 166)
HSLhsl(318, 59%, 54%)
HSVhsv(318, 66%, 81%)
CMYKcmyk(0%, 66.2%, 19.8%, 18.8%)
CIE-LABlab(52.29, 63.37, -23.29)
CIE-LCHlch(52.29, 67.51, 339.82°)
OKLaboklab(61.5% 0.1894 -0.0624)
OKLCHoklch(61.5% 0.199 341.8)
XYZxyz(34.8062, 20.4022, 38.1739)
Luminance0.2040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF46A6 #46CF6F
analogous
#B346CF #CF46A6 #CF4662
triadic
#CF46A6 #A6CF46 #46A6CF
tetradic
#CF46A6 #CFB346 #46CF6F #4662CF
square
#CF46A6 #CFB346 #46CF6F #4662CF
split-complementary
#CF46A6 #62CF46 #46CFB3
monochromatic
#7B2060 #AB2C85 #CF46A6 #DC77BD #E8A7D5

Accessibility & contrast

On white

4.13
#CF46A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CF46A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF46A6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF46A6#FFFFFF#000000##000000
##CF46A61.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#516EA9
Deuteranopia (green-blind)
#7A85A3
Tritanopia (blue-blind)
#DB4870
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf46a6;
/* rgb */ color: rgb(207, 70, 166);
/* oklch */ color: oklch(61.5% 0.199 341.8);
Tailwind
colors: {
  custom: {
    50: '#e183c0',
    500: '#cf46a6',
    950: '#000000',
  },
}
SCSS
$custom: #cf46a6;
$custom-light: #e183c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf46a6",
  "rgb": {
    "r": 207,
    "g": 70,
    "b": 166
  },
  "hsl": {
    "h": 317.956,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61495,
    "c": 0.19946,
    "h": 341.8
  },
  "luminance": 0.20399
}

Semantic roles & 50–950 ramp

primary
#CF46A6
secondary
#9BD5AD
accent
#E27546
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF46A6

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

Preview Lab → · Contrast checker → · Palette generator →

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