#CF46A1#CF46A1

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

Color values

HEX#CF46A1
RGBrgb(207, 70, 161)
HSLhsl(320, 59%, 54%)
HSVhsv(320, 66%, 81%)
CMYKcmyk(0%, 66.2%, 22.2%, 18.8%)
CIE-LABlab(52.09, 62.69, -20.65)
CIE-LCHlch(52.09, 66.01, 341.77°)
OKLaboklab(61.28% 0.1884 -0.0551)
OKLCHoklch(61.28% 0.196 343.7)
XYZxyz(34.3565, 20.2223, 35.8052)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF46A1 #46CF74
analogous
#B946CF #CF46A1 #CF465D
triadic
#CF46A1 #A1CF46 #46A1CF
tetradic
#CF46A1 #CFB946 #46CF74 #465DCF
square
#CF46A1 #CFB946 #46CF74 #465DCF
split-complementary
#CF46A1 #5DCF46 #46CFB9
monochromatic
#7B205C #AB2C81 #CF46A1 #DC77BA #E8A7D2

Accessibility & contrast

On white

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

On black

5.04
#CF46A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF46A1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF46A1#FFFFFF#000000##000000
##CF46A11.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#536EA4
Deuteranopia (green-blind)
#7C859E
Tritanopia (blue-blind)
#DC466D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf46a1;
/* rgb */ color: rgb(207, 70, 161);
/* oklch */ color: oklch(61.3% 0.196 343.7);
Tailwind
colors: {
  custom: {
    50: '#e183bd',
    500: '#cf46a1',
    950: '#000000',
  },
}
SCSS
$custom: #cf46a1;
$custom-light: #e183bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf46a1",
  "rgb": {
    "r": 207,
    "g": 70,
    "b": 161
  },
  "hsl": {
    "h": 320.146,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61282,
    "c": 0.19633,
    "h": 343.7
  },
  "luminance": 0.20219
}

Semantic roles & 50–950 ramp

primary
#CF46A1
secondary
#9BD5AF
accent
#E27A46
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF46A1

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

Preview Lab → · Contrast checker → · Palette generator →

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