#CF4B7F#CF4B7F

#CF4B7F is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.6% C 0.173 H 359.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CF4B7F
RGBrgb(207, 75, 127)
HSLhsl(336, 58%, 55%)
HSVhsv(336, 64%, 81%)
CMYKcmyk(0%, 63.8%, 38.6%, 18.8%)
CIE-LABlab(51.65, 56.54, -1.10)
CIE-LCHlch(51.65, 56.55, 358.88°)
OKLaboklab(60.57% 0.1729 -0.0022)
OKLCHoklch(60.57% 0.173 359.3)
XYZxyz(32.0810, 19.8335, 22.2134)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4B7F #4BCF9B
analogous
#CF4BC1 #CF4B7F #CF594B
triadic
#CF4B7F #7FCF4B #4B7FCF
tetradic
#CF4B7F #C1CF4B #4BCF9B #594BCF
square
#CF4B7F #C1CF4B #4BCF9B #594BCF
split-complementary
#CF4B7F #4BCF59 #4BC1CF
monochromatic
#7E2246 #AE2E61 #CF4B7F #DC7BA1 #E9ACC4

Accessibility & contrast

On white

4.23
#CF4B7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CF4B7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4B7F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4B7F#FFFFFF#000000##000000
##CF4B7F1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf4b7f;
/* rgb */ color: rgb(207, 75, 127);
/* oklch */ color: oklch(60.6% 0.173 359.3);
Tailwind
colors: {
  custom: {
    50: '#e285a4',
    500: '#cf4b7f',
    950: '#000000',
  },
}
SCSS
$custom: #cf4b7f;
$custom-light: #e285a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4b7f",
  "rgb": {
    "r": 207,
    "g": 75,
    "b": 127
  },
  "hsl": {
    "h": 336.364,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60573,
    "c": 0.17287,
    "h": 359.3
  },
  "luminance": 0.1983
}

Semantic roles & 50–950 ramp

primary
#CF4B7F
secondary
#9FD6C1
accent
#E1A447
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CF4B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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