#CF45AF#CF45AF

#CF45AF is a mid, highly saturated pink. Relative luminance 0.206; OKLCH L 61.8% C 0.207 H 338.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CF45AF
RGBrgb(207, 69, 175)
HSLhsl(314, 59%, 54%)
HSVhsv(314, 67%, 81%)
CMYKcmyk(0%, 66.7%, 15.5%, 18.8%)
CIE-LABlab(52.53, 65.02, -28.18)
CIE-LCHlch(52.53, 70.87, 336.57°)
OKLaboklab(61.8% 0.1921 -0.0763)
OKLCHoklch(61.8% 0.207 338.3)
XYZxyz(35.5988, 20.6200, 42.6543)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45AF #45CF65
analogous
#AA45CF #CF45AF #CF456A
triadic
#CF45AF #AFCF45 #45AFCF
tetradic
#CF45AF #CFAA45 #45CF65 #456ACF
square
#CF45AF #CFAA45 #45CF65 #456ACF
split-complementary
#CF45AF #6ACF45 #45CFAA
monochromatic
#7A2065 #AB2C8D #CF45AF #DC76C4 #E8A6D9

Accessibility & contrast

On white

4.10
#CF45AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CF45AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45AF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45AF#FFFFFF#000000##000000
##CF45AF1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B70B2
Deuteranopia (green-blind)
#7685AC
Tritanopia (blue-blind)
#DA4B74
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf45af;
/* rgb */ color: rgb(207, 69, 175);
/* oklch */ color: oklch(61.8% 0.207 338.3);
Tailwind
colors: {
  custom: {
    50: '#e183c7',
    500: '#cf45af',
    950: '#000000',
  },
}
SCSS
$custom: #cf45af;
$custom-light: #e183c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45af",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 313.913,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61796,
    "c": 0.20671,
    "h": 338.3
  },
  "luminance": 0.20617
}

Semantic roles & 50–950 ramp

primary
#CF45AF
secondary
#9BD5A8
accent
#E26A46
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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