#CF46A2#CF46A2

#CF46A2 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.3% C 0.197 H 343.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CF46A2
RGBrgb(207, 70, 162)
HSLhsl(320, 59%, 54%)
HSVhsv(320, 66%, 81%)
CMYKcmyk(0%, 66.2%, 21.7%, 18.8%)
CIE-LABlab(52.13, 62.83, -21.18)
CIE-LCHlch(52.13, 66.30, 341.37°)
OKLaboklab(61.32% 0.1886 -0.0566)
OKLCHoklch(61.32% 0.197 343.3)
XYZxyz(34.4450, 20.2577, 36.2715)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF46A2 #46CF73
analogous
#B846CF #CF46A2 #CF465E
triadic
#CF46A2 #A2CF46 #46A2CF
tetradic
#CF46A2 #CFB846 #46CF73 #465ECF
square
#CF46A2 #CFB846 #46CF73 #465ECF
split-complementary
#CF46A2 #5ECF46 #46CFB8
monochromatic
#7B205D #AB2C82 #CF46A2 #DC77BA #E8A7D3

Accessibility & contrast

On white

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

On black

5.05
#CF46A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF46A2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF46A2#FFFFFF#000000##000000
##CF46A21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#536EA5
Deuteranopia (green-blind)
#7B859F
Tritanopia (blue-blind)
#DC466E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf46a2;
/* rgb */ color: rgb(207, 70, 162);
/* oklch */ color: oklch(61.3% 0.197 343.3);
Tailwind
colors: {
  custom: {
    50: '#e183bd',
    500: '#cf46a2',
    950: '#000000',
  },
}
SCSS
$custom: #cf46a2;
$custom-light: #e183bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf46a2",
  "rgb": {
    "r": 207,
    "g": 70,
    "b": 162
  },
  "hsl": {
    "h": 319.708,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61324,
    "c": 0.19694,
    "h": 343.3
  },
  "luminance": 0.20254
}

Semantic roles & 50–950 ramp

primary
#CF46A2
secondary
#9BD5AE
accent
#E27946
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF46A2

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

Preview Lab → · Contrast checker → · Palette generator →

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