#CF4B7A#CF4B7A

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

Color values

HEX#CF4B7A
RGBrgb(207, 75, 122)
HSLhsl(339, 58%, 55%)
HSVhsv(339, 64%, 81%)
CMYKcmyk(0%, 63.8%, 41.1%, 18.8%)
CIE-LABlab(51.50, 56.01, 1.68)
CIE-LCHlch(51.50, 56.04, 1.72°)
OKLaboklab(60.42% 0.1712 0.005)
OKLCHoklch(60.42% 0.171 1.7)
XYZxyz(31.7632, 19.7064, 20.5396)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4B7A #4BCFA0
analogous
#CF4BBC #CF4B7A #CF5E4B
triadic
#CF4B7A #7ACF4B #4B7ACF
tetradic
#CF4B7A #BCCF4B #4BCFA0 #5E4BCF
square
#CF4B7A #BCCF4B #4BCFA0 #5E4BCF
split-complementary
#CF4B7A #4BCF5E #4BBCCF
monochromatic
#7E2243 #AE2E5C #CF4B7A #DC7B9E #E9ACC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF4B7A#FFFFFF#000000##000000
##CF4B7A1.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)
#656B7B
Deuteranopia (green-blind)
#888477
Tritanopia (blue-blind)
#E03C5E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf4b7a;
/* rgb */ color: rgb(207, 75, 122);
/* oklch */ color: oklch(60.4% 0.171 1.7);
Tailwind
colors: {
  custom: {
    50: '#e284a0',
    500: '#cf4b7a',
    950: '#000000',
  },
}
SCSS
$custom: #cf4b7a;
$custom-light: #e284a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4b7a",
  "rgb": {
    "r": 207,
    "g": 75,
    "b": 122
  },
  "hsl": {
    "h": 338.636,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60418,
    "c": 0.17123,
    "h": 1.7
  },
  "luminance": 0.19703
}

Semantic roles & 50–950 ramp

primary
#CF4B7A
secondary
#9FD6C3
accent
#E1AA47
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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