#CF46A7#CF46A7

#CF46A7 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.5% C 0.200 H 341.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CF46A7
RGBrgb(207, 70, 167)
HSLhsl(318, 59%, 54%)
HSVhsv(318, 66%, 81%)
CMYKcmyk(0%, 66.2%, 19.3%, 18.8%)
CIE-LABlab(52.33, 63.51, -23.81)
CIE-LCHlch(52.33, 67.83, 339.45°)
OKLaboklab(61.54% 0.1896 -0.0639)
OKLCHoklch(61.54% 0.2 341.4)
XYZxyz(34.8983, 20.4390, 38.6589)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF46A7 #46CF6E
analogous
#B246CF #CF46A7 #CF4663
triadic
#CF46A7 #A7CF46 #46A7CF
tetradic
#CF46A7 #CFB246 #46CF6E #4663CF
square
#CF46A7 #CFB246 #46CF6E #4663CF
split-complementary
#CF46A7 #63CF46 #46CFB2
monochromatic
#7B2060 #AB2C86 #CF46A7 #DC77BE #E8A7D5

Accessibility & contrast

On white

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

On black

5.09
#CF46A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF46A7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF46A7#FFFFFF#000000##000000
##CF46A71.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#506FAA
Deuteranopia (green-blind)
#7A85A4
Tritanopia (blue-blind)
#DB4870
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf46a7;
/* rgb */ color: rgb(207, 70, 167);
/* oklch */ color: oklch(61.5% 0.200 341.4);
Tailwind
colors: {
  custom: {
    50: '#e183c1',
    500: '#cf46a7',
    950: '#000000',
  },
}
SCSS
$custom: #cf46a7;
$custom-light: #e183c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf46a7",
  "rgb": {
    "r": 207,
    "g": 70,
    "b": 167
  },
  "hsl": {
    "h": 317.518,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61539,
    "c": 0.20011,
    "h": 341.4
  },
  "luminance": 0.20436
}

Semantic roles & 50–950 ramp

primary
#CF46A7
secondary
#9BD5AC
accent
#E27346
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF46A7

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

Preview Lab → · Contrast checker → · Palette generator →

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