#CF45A5#CF45A5

#CF45A5 is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.4% C 0.200 H 342.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CF45A5
RGBrgb(207, 69, 165)
HSLhsl(318, 59%, 54%)
HSVhsv(318, 67%, 81%)
CMYKcmyk(0%, 66.7%, 20.3%, 18.8%)
CIE-LABlab(52.11, 63.62, -22.98)
CIE-LCHlch(52.11, 67.64, 340.14°)
OKLaboklab(61.35% 0.1904 -0.0616)
OKLCHoklch(61.35% 0.2 342.1)
XYZxyz(34.6528, 20.2416, 37.6720)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45A5 #45CF6F
analogous
#B445CF #CF45A5 #CF4560
triadic
#CF45A5 #A5CF45 #45A5CF
tetradic
#CF45A5 #CFB445 #45CF6F #4560CF
square
#CF45A5 #CFB445 #45CF6F #4560CF
split-complementary
#CF45A5 #60CF45 #45CFB4
monochromatic
#7A205F #AB2C84 #CF45A5 #DC76BD #E8A6D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF45A5#FFFFFF#000000##000000
##CF45A51.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)
#506EA8
Deuteranopia (green-blind)
#7A84A2
Tritanopia (blue-blind)
#DB466F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf45a5;
/* rgb */ color: rgb(207, 69, 165);
/* oklch */ color: oklch(61.4% 0.200 342.1);
Tailwind
colors: {
  custom: {
    50: '#e182c0',
    500: '#cf45a5',
    950: '#000000',
  },
}
SCSS
$custom: #cf45a5;
$custom-light: #e182c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45a5",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 318.261,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61351,
    "c": 0.20012,
    "h": 342.1
  },
  "luminance": 0.20238
}

Semantic roles & 50–950 ramp

primary
#CF45A5
secondary
#9BD5AC
accent
#E27546
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF45A5

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

Preview Lab → · Contrast checker → · Palette generator →

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