#CF4A8F#CF4A8F

#CF4A8F is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.0% C 0.181 H 351.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CF4A8F
RGBrgb(207, 74, 143)
HSLhsl(329, 58%, 55%)
HSVhsv(329, 64%, 81%)
CMYKcmyk(0%, 64.3%, 30.9%, 18.8%)
CIE-LABlab(52.01, 58.79, -10.12)
CIE-LCHlch(52.01, 59.66, 350.23°)
OKLaboklab(61.01% 0.1791 -0.0261)
OKLCHoklch(61.01% 0.181 351.7)
XYZxyz(33.1405, 20.1497, 28.1253)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4A8F #4ACF8A
analogous
#CC4ACF #CF4A8F #CF4A4C
triadic
#CF4A8F #8FCF4A #4A8FCF
tetradic
#CF4A8F #CFCC4A #4ACF8A #4A4CCF
square
#CF4A8F #CFCC4A #4ACF8A #4A4CCF
split-complementary
#CF4A8F #4CCF4A #4ACFCC
monochromatic
#7D2151 #AE2E70 #CF4A8F #DC7AAD #E9ABCB

Accessibility & contrast

On white

4.18
#CF4A8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CF4A8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4A8F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4A8F#FFFFFF#000000##000000
##CF4A8F1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6D91
Deuteranopia (green-blind)
#83858C
Tritanopia (blue-blind)
#DE4366
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4a8f;
/* rgb */ color: rgb(207, 74, 143);
/* oklch */ color: oklch(61.0% 0.181 351.7);
Tailwind
colors: {
  custom: {
    50: '#e284af',
    500: '#cf4a8f',
    950: '#000000',
  },
}
SCSS
$custom: #cf4a8f;
$custom-light: #e284af;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4a8f",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 143
  },
  "hsl": {
    "h": 328.872,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61005,
    "c": 0.18098,
    "h": 351.7
  },
  "luminance": 0.20146
}

Semantic roles & 50–950 ramp

primary
#CF4A8F
secondary
#9FD6B9
accent
#E19146
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF4A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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