#CF46B1#CF46B1

#CF46B1 is a mid, highly saturated pink. Relative luminance 0.208; OKLCH L 62.0% C 0.207 H 337.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CF46B1
RGBrgb(207, 70, 177)
HSLhsl(313, 59%, 54%)
HSVhsv(313, 66%, 81%)
CMYKcmyk(0%, 66.2%, 14.5%, 18.8%)
CIE-LABlab(52.76, 64.93, -29.00)
CIE-LCHlch(52.76, 71.11, 335.93°)
OKLaboklab(61.99% 0.1913 -0.0786)
OKLCHoklch(61.99% 0.207 337.7)
XYZxyz(35.8587, 20.8232, 43.7172)
Luminance0.2082 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF46B1 #46CF64
analogous
#A946CF #CF46B1 #CF466D
triadic
#CF46B1 #B1CF46 #46B1CF
tetradic
#CF46B1 #CFA946 #46CF64 #466DCF
square
#CF46B1 #CFA946 #46CF64 #466DCF
split-complementary
#CF46B1 #6DCF46 #46CFA9
monochromatic
#7B2067 #AB2C90 #CF46B1 #DC77C5 #E8A7DA

Accessibility & contrast

On white

4.07
#CF46B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CF46B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF46B1
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF46B1#FFFFFF#000000##000000
##CF46B11.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B4
Deuteranopia (green-blind)
#7686AE
Tritanopia (blue-blind)
#DA4C75
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf46b1;
/* rgb */ color: rgb(207, 70, 177);
/* oklch */ color: oklch(62.0% 0.207 337.7);
Tailwind
colors: {
  custom: {
    50: '#e183c8',
    500: '#cf46b1',
    950: '#000000',
  },
}
SCSS
$custom: #cf46b1;
$custom-light: #e183c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf46b1",
  "rgb": {
    "r": 207,
    "g": 70,
    "b": 177
  },
  "hsl": {
    "h": 313.139,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61988,
    "c": 0.2068,
    "h": 337.7
  },
  "luminance": 0.2082
}

Semantic roles & 50–950 ramp

primary
#CF46B1
secondary
#9BD5A8
accent
#E26846
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CF46B1

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

Preview Lab → · Contrast checker → · Palette generator →

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