#CF46A5#CF46A5

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

Color values

HEX#CF46A5
RGBrgb(207, 70, 165)
HSLhsl(318, 59%, 54%)
HSVhsv(318, 66%, 81%)
CMYKcmyk(0%, 66.2%, 20.3%, 18.8%)
CIE-LABlab(52.25, 63.23, -22.76)
CIE-LCHlch(52.25, 67.21, 340.20°)
OKLaboklab(61.45% 0.1892 -0.061)
OKLCHoklch(61.45% 0.199 342.1)
XYZxyz(34.7148, 20.3656, 37.6927)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF46A5 #46CF70
analogous
#B446CF #CF46A5 #CF4661
triadic
#CF46A5 #A5CF46 #46A5CF
tetradic
#CF46A5 #CFB446 #46CF70 #4661CF
square
#CF46A5 #CFB446 #46CF70 #4661CF
split-complementary
#CF46A5 #61CF46 #46CFB4
monochromatic
#7B205F #AB2C84 #CF46A5 #DC77BD #E8A7D4

Accessibility & contrast

On white

4.14
#CF46A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF46A5#FFFFFF#000000##000000
##CF46A51.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#516EA8
Deuteranopia (green-blind)
#7A85A2
Tritanopia (blue-blind)
#DB476F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf46a5;
/* rgb */ color: rgb(207, 70, 165);
/* oklch */ color: oklch(61.5% 0.199 342.1);
Tailwind
colors: {
  custom: {
    50: '#e183c0',
    500: '#cf46a5',
    950: '#000000',
  },
}
SCSS
$custom: #cf46a5;
$custom-light: #e183c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf46a5",
  "rgb": {
    "r": 207,
    "g": 70,
    "b": 165
  },
  "hsl": {
    "h": 318.394,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61452,
    "c": 0.19882,
    "h": 342.1
  },
  "luminance": 0.20362
}

Semantic roles & 50–950 ramp

primary
#CF46A5
secondary
#9BD5AD
accent
#E27646
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF46A5

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

Preview Lab → · Contrast checker → · Palette generator →

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