#CF45A7#CF45A7

#CF45A7 is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.4% C 0.201 H 341.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CF45A7
RGBrgb(207, 69, 167)
HSLhsl(317, 59%, 54%)
HSVhsv(317, 67%, 81%)
CMYKcmyk(0%, 66.7%, 19.3%, 18.8%)
CIE-LABlab(52.19, 63.89, -24.02)
CIE-LCHlch(52.19, 68.26, 339.39°)
OKLaboklab(61.44% 0.1908 -0.0645)
OKLCHoklch(61.44% 0.201 341.3)
XYZxyz(34.8363, 20.3150, 38.6382)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45A7 #45CF6D
analogous
#B245CF #CF45A7 #CF4562
triadic
#CF45A7 #A7CF45 #45A7CF
tetradic
#CF45A7 #CFB245 #45CF6D #4562CF
square
#CF45A7 #CFB245 #45CF6D #4562CF
split-complementary
#CF45A7 #62CF45 #45CFB2
monochromatic
#7A2060 #AB2C86 #CF45A7 #DC76BE #E8A6D5

Accessibility & contrast

On white

4.15
#CF45A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CF45A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45A7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45A7#FFFFFF#000000##000000
##CF45A71.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EAA
Deuteranopia (green-blind)
#7985A4
Tritanopia (blue-blind)
#DB4770
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf45a7;
/* rgb */ color: rgb(207, 69, 167);
/* oklch */ color: oklch(61.4% 0.201 341.3);
Tailwind
colors: {
  custom: {
    50: '#e183c1',
    500: '#cf45a7',
    950: '#000000',
  },
}
SCSS
$custom: #cf45a7;
$custom-light: #e183c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45a7",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 317.391,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61438,
    "c": 0.20139,
    "h": 341.3
  },
  "luminance": 0.20312
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF45A7

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

Preview Lab → · Contrast checker → · Palette generator →

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