#CF45A3#CF45A3

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

Color values

HEX#CF45A3
RGBrgb(207, 69, 163)
HSLhsl(319, 59%, 54%)
HSVhsv(319, 67%, 81%)
CMYKcmyk(0%, 66.7%, 21.3%, 18.8%)
CIE-LABlab(52.03, 63.35, -21.92)
CIE-LCHlch(52.03, 67.03, 340.91°)
OKLaboklab(61.27% 0.19 -0.0586)
OKLCHoklch(61.27% 0.199 342.9)
XYZxyz(34.4722, 20.1693, 36.7208)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45A3 #45CF71
analogous
#B645CF #CF45A3 #CF455E
triadic
#CF45A3 #A3CF45 #45A3CF
tetradic
#CF45A3 #CFB645 #45CF71 #455ECF
square
#CF45A3 #CFB645 #45CF71 #455ECF
split-complementary
#CF45A3 #5ECF45 #45CFB6
monochromatic
#7A205D #AB2C82 #CF45A3 #DC76BB #E8A6D3

Accessibility & contrast

On white

4.17
#CF45A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CF45A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45A3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45A3#FFFFFF#000000##000000
##CF45A31.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#516EA6
Deuteranopia (green-blind)
#7B84A0
Tritanopia (blue-blind)
#DC466E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf45a3;
/* rgb */ color: rgb(207, 69, 163);
/* oklch */ color: oklch(61.3% 0.199 342.9);
Tailwind
colors: {
  custom: {
    50: '#e182be',
    500: '#cf45a3',
    950: '#000000',
  },
}
SCSS
$custom: #cf45a3;
$custom-light: #e182be;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45a3",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 319.13,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61265,
    "c": 0.19886,
    "h": 342.9
  },
  "luminance": 0.20166
}

Semantic roles & 50–950 ramp

primary
#CF45A3
secondary
#9BD5AD
accent
#E27846
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF45A3

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

Preview Lab → · Contrast checker → · Palette generator →

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