#CF4A7F#CF4A7F

#CF4A7F is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.5% C 0.174 H 359.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CF4A7F
RGBrgb(207, 74, 127)
HSLhsl(336, 58%, 55%)
HSVhsv(336, 64%, 81%)
CMYKcmyk(0%, 64.3%, 38.6%, 18.8%)
CIE-LABlab(51.50, 56.96, -1.33)
CIE-LCHlch(51.50, 56.97, 358.67°)
OKLaboklab(60.46% 0.1742 -0.0028)
OKLCHoklch(60.46% 0.174 359.1)
XYZxyz(32.0137, 19.6990, 22.1909)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4A7F #4ACF9A
analogous
#CF4AC2 #CF4A7F #CF574A
triadic
#CF4A7F #7FCF4A #4A7FCF
tetradic
#CF4A7F #C2CF4A #4ACF9A #574ACF
square
#CF4A7F #C2CF4A #4ACF9A #574ACF
split-complementary
#CF4A7F #4ACF57 #4AC2CF
monochromatic
#7D2146 #AE2E61 #CF4A7F #DC7AA1 #E9ABC3

Accessibility & contrast

On white

4.25
#CF4A7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CF4A7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4A7F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4A7F#FFFFFF#000000##000000
##CF4A7F1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#636B80
Deuteranopia (green-blind)
#86847C
Tritanopia (blue-blind)
#DF3D5F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf4a7f;
/* rgb */ color: rgb(207, 74, 127);
/* oklch */ color: oklch(60.5% 0.174 359.1);
Tailwind
colors: {
  custom: {
    50: '#e284a4',
    500: '#cf4a7f',
    950: '#000000',
  },
}
SCSS
$custom: #cf4a7f;
$custom-light: #e284a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4a7f",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 127
  },
  "hsl": {
    "h": 336.09,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60459,
    "c": 0.17419,
    "h": 359.1
  },
  "luminance": 0.19695
}

Semantic roles & 50–950 ramp

primary
#CF4A7F
secondary
#9FD6C0
accent
#E1A446
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CF4A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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