#CF4A7A#CF4A7A

#CF4A7A is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.3% C 0.173 H 1.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CF4A7A
RGBrgb(207, 74, 122)
HSLhsl(338, 58%, 55%)
HSVhsv(338, 64%, 81%)
CMYKcmyk(0%, 64.3%, 41.1%, 18.8%)
CIE-LABlab(51.35, 56.43, 1.46)
CIE-LCHlch(51.35, 56.45, 1.48°)
OKLaboklab(60.3% 0.1725 0.0045)
OKLCHoklch(60.3% 0.173 1.5)
XYZxyz(31.6959, 19.5718, 20.5172)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4A7A #4ACF9F
analogous
#CF4ABC #CF4A7A #CF5C4A
triadic
#CF4A7A #7ACF4A #4A7ACF
tetradic
#CF4A7A #BCCF4A #4ACF9F #5C4ACF
square
#CF4A7A #BCCF4A #4ACF9F #5C4ACF
split-complementary
#CF4A7A #4ACF5C #4ABCCF
monochromatic
#7D2142 #AE2E5C #CF4A7A #DC7A9E #E9ABC1

Accessibility & contrast

On white

4.27
#CF4A7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CF4A7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4A7A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4A7A#FFFFFF#000000##000000
##CF4A7A1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#646A7B
Deuteranopia (green-blind)
#878477
Tritanopia (blue-blind)
#E03B5D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf4a7a;
/* rgb */ color: rgb(207, 74, 122);
/* oklch */ color: oklch(60.3% 0.173 1.5);
Tailwind
colors: {
  custom: {
    50: '#e284a0',
    500: '#cf4a7a',
    950: '#000000',
  },
}
SCSS
$custom: #cf4a7a;
$custom-light: #e284a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4a7a",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 122
  },
  "hsl": {
    "h": 338.346,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60304,
    "c": 0.17255,
    "h": 1.5
  },
  "luminance": 0.19568
}

Semantic roles & 50–950 ramp

primary
#CF4A7A
secondary
#9FD6C2
accent
#E1A946
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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