#CF4A71#CF4A71

#CF4A71 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.0% C 0.170 H 5.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CF4A71
RGBrgb(207, 74, 113)
HSLhsl(342, 58%, 55%)
HSVhsv(342, 64%, 81%)
CMYKcmyk(0%, 64.3%, 45.4%, 18.8%)
CIE-LABlab(51.10, 55.54, 6.51)
CIE-LCHlch(51.10, 55.92, 6.69°)
OKLaboklab(60.04% 0.1693 0.0173)
OKLCHoklch(60.04% 0.17 5.8)
XYZxyz(31.1639, 19.3590, 17.7151)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4A71 #4ACFA8
analogous
#CF4AB4 #CF4A71 #CF654A
triadic
#CF4A71 #71CF4A #4A71CF
tetradic
#CF4A71 #B4CF4A #4ACFA8 #654ACF
square
#CF4A71 #B4CF4A #4ACFA8 #654ACF
split-complementary
#CF4A71 #4ACF65 #4AB4CF
monochromatic
#7D213C #AE2E54 #CF4A71 #DC7A97 #E9ABBD

Accessibility & contrast

On white

4.31
#CF4A71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CF4A71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4A71
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4A71#FFFFFF#000000##000000
##CF4A711.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#666972
Deuteranopia (green-blind)
#89836E
Tritanopia (blue-blind)
#E03859
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf4a71;
/* rgb */ color: rgb(207, 74, 113);
/* oklch */ color: oklch(60.0% 0.170 5.8);
Tailwind
colors: {
  custom: {
    50: '#e38499',
    500: '#cf4a71',
    950: '#000000',
  },
}
SCSS
$custom: #cf4a71;
$custom-light: #e38499;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4a71",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 113
  },
  "hsl": {
    "h": 342.406,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60041,
    "c": 0.17018,
    "h": 5.8
  },
  "luminance": 0.19355
}

Semantic roles & 50–950 ramp

primary
#CF4A71
secondary
#9FD6C6
accent
#E1B446
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CF4A71

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

Preview Lab → · Contrast checker → · Palette generator →

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