#CF4A9F#CF4A9F

#CF4A9F is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.6% C 0.190 H 344.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CF4A9F
RGBrgb(207, 74, 159)
HSLhsl(322, 58%, 55%)
HSVhsv(322, 64%, 81%)
CMYKcmyk(0%, 64.3%, 23.2%, 18.8%)
CIE-LABlab(52.59, 60.83, -18.71)
CIE-LCHlch(52.59, 63.65, 342.90°)
OKLaboklab(61.62% 0.1831 -0.0497)
OKLCHoklch(61.62% 0.19 344.8)
XYZxyz(34.4401, 20.6695, 34.9700)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4A9F #4ACF7A
analogous
#BC4ACF #CF4A9F #CF4A5C
triadic
#CF4A9F #9FCF4A #4A9FCF
tetradic
#CF4A9F #CFBC4A #4ACF7A #4A5CCF
square
#CF4A9F #CFBC4A #4ACF7A #4A5CCF
split-complementary
#CF4A9F #5CCF4A #4ACFBC
monochromatic
#7D215C #AE2E80 #CF4A9F #DC7AB9 #E9ABD2

Accessibility & contrast

On white

4.09
#CF4A9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#CF4A9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4A9F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4A9F#FFFFFF#000000##000000
##CF4A9F1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#576FA2
Deuteranopia (green-blind)
#7E869C
Tritanopia (blue-blind)
#DC496E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf4a9f;
/* rgb */ color: rgb(207, 74, 159);
/* oklch */ color: oklch(61.6% 0.190 344.8);
Tailwind
colors: {
  custom: {
    50: '#e185bb',
    500: '#cf4a9f',
    950: '#000000',
  },
}
SCSS
$custom: #cf4a9f;
$custom-light: #e185bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4a9f",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 159
  },
  "hsl": {
    "h": 321.654,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61622,
    "c": 0.18977,
    "h": 344.8
  },
  "luminance": 0.20666
}

Semantic roles & 50–950 ramp

primary
#CF4A9F
secondary
#9FD6B3
accent
#E17E46
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF4A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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