#CF45A0#CF45A0

#CF45A0 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.1% C 0.197 H 344.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CF45A0
RGBrgb(207, 69, 160)
HSLhsl(320, 59%, 54%)
HSVhsv(320, 67%, 81%)
CMYKcmyk(0%, 66.7%, 22.7%, 18.8%)
CIE-LABlab(51.91, 62.94, -20.34)
CIE-LCHlch(51.91, 66.15, 342.09°)
OKLaboklab(61.14% 0.1894 -0.0542)
OKLCHoklch(61.14% 0.197 344)
XYZxyz(34.2066, 20.0631, 35.3220)
Luminance0.2006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45A0 #45CF74
analogous
#B945CF #CF45A0 #CF455B
triadic
#CF45A0 #A0CF45 #45A0CF
tetradic
#CF45A0 #CFB945 #45CF74 #455BCF
square
#CF45A0 #CFB945 #45CF74 #455BCF
split-complementary
#CF45A0 #5BCF45 #45CFB9
monochromatic
#7A205B #AB2C80 #CF45A0 #DC76B9 #E8A6D2

Accessibility & contrast

On white

4.19
#CF45A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CF45A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45A0
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45A0#FFFFFF#000000##000000
##CF45A01.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#536DA3
Deuteranopia (green-blind)
#7C849D
Tritanopia (blue-blind)
#DC446C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf45a0;
/* rgb */ color: rgb(207, 69, 160);
/* oklch */ color: oklch(61.1% 0.197 344.0);
Tailwind
colors: {
  custom: {
    50: '#e182bc',
    500: '#cf45a0',
    950: '#000000',
  },
}
SCSS
$custom: #cf45a0;
$custom-light: #e182bc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45a0",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 160
  },
  "hsl": {
    "h": 320.435,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61138,
    "c": 0.19701,
    "h": 344
  },
  "luminance": 0.2006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF45A0

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

Preview Lab → · Contrast checker → · Palette generator →

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