#CF4A97#CF4A97

#CF4A97 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.3% C 0.185 H 348.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CF4A97
RGBrgb(207, 74, 151)
HSLhsl(325, 58%, 55%)
HSVhsv(325, 64%, 81%)
CMYKcmyk(0%, 64.3%, 27.1%, 18.8%)
CIE-LABlab(52.29, 59.79, -14.44)
CIE-LCHlch(52.29, 61.51, 346.42°)
OKLaboklab(61.31% 0.1812 -0.0379)
OKLCHoklch(61.31% 0.185 348.2)
XYZxyz(33.7682, 20.4008, 31.4315)
Luminance0.2040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4A97 #4ACF82
analogous
#C44ACF #CF4A97 #CF4A54
triadic
#CF4A97 #97CF4A #4A97CF
tetradic
#CF4A97 #CFC44A #4ACF82 #4A54CF
square
#CF4A97 #CFC44A #4ACF82 #4A54CF
split-complementary
#CF4A97 #54CF4A #4ACFC4
monochromatic
#7D2157 #AE2E78 #CF4A97 #DC7AB3 #E9ABCF

Accessibility & contrast

On white

4.13
#CF4A97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CF4A97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4A97
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4A97#FFFFFF#000000##000000
##CF4A971.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6E99
Deuteranopia (green-blind)
#808594
Tritanopia (blue-blind)
#DD466A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf4a97;
/* rgb */ color: rgb(207, 74, 151);
/* oklch */ color: oklch(61.3% 0.185 348.2);
Tailwind
colors: {
  custom: {
    50: '#e185b5',
    500: '#cf4a97',
    950: '#000000',
  },
}
SCSS
$custom: #cf4a97;
$custom-light: #e185b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4a97",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 325.263,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61305,
    "c": 0.18515,
    "h": 348.2
  },
  "luminance": 0.20397
}

Semantic roles & 50–950 ramp

primary
#CF4A97
secondary
#9FD6B6
accent
#E18846
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF4A97

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

Preview Lab → · Contrast checker → · Palette generator →

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