#CF45A8#CF45A8

#CF45A8 is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.5% C 0.202 H 340.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CF45A8
RGBrgb(207, 69, 168)
HSLhsl(317, 59%, 54%)
HSVhsv(317, 67%, 81%)
CMYKcmyk(0%, 66.7%, 18.8%, 18.8%)
CIE-LABlab(52.23, 64.03, -24.55)
CIE-LCHlch(52.23, 68.58, 339.03°)
OKLaboklab(61.48% 0.191 -0.066)
OKLCHoklch(61.48% 0.202 340.9)
XYZxyz(34.9291, 20.3521, 39.1270)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45A8 #45CF6C
analogous
#B145CF #CF45A8 #CF4563
triadic
#CF45A8 #A8CF45 #45A8CF
tetradic
#CF45A8 #CFB145 #45CF6C #4563CF
square
#CF45A8 #CFB145 #45CF6C #4563CF
split-complementary
#CF45A8 #63CF45 #45CFB1
monochromatic
#7A2060 #AB2C87 #CF45A8 #DC76BF #E8A6D6

Accessibility & contrast

On white

4.14
#CF45A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CF45A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45A8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45A8#FFFFFF#000000##000000
##CF45A81.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EAB
Deuteranopia (green-blind)
#7985A5
Tritanopia (blue-blind)
#DB4870
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf45a8;
/* rgb */ color: rgb(207, 69, 168);
/* oklch */ color: oklch(61.5% 0.202 340.9);
Tailwind
colors: {
  custom: {
    50: '#e183c2',
    500: '#cf45a8',
    950: '#000000',
  },
}
SCSS
$custom: #cf45a8;
$custom-light: #e183c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45a8",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 168
  },
  "hsl": {
    "h": 316.957,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61482,
    "c": 0.20204,
    "h": 340.9
  },
  "luminance": 0.20349
}

Semantic roles & 50–950 ramp

primary
#CF45A8
secondary
#9BD5AB
accent
#E27246
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF45A8

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

Preview Lab → · Contrast checker → · Palette generator →

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