#CF4F7F#CF4F7F

#CF4F7F is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.0% C 0.167 H 0.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CF4F7F
RGBrgb(207, 79, 127)
HSLhsl(338, 57%, 56%)
HSVhsv(338, 62%, 81%)
CMYKcmyk(0%, 61.8%, 38.6%, 18.8%)
CIE-LABlab(52.28, 54.83, -0.18)
CIE-LCHlch(52.28, 54.83, 359.81°)
OKLaboklab(61.04% 0.1675 0.0002)
OKLCHoklch(61.04% 0.167 0.1)
XYZxyz(32.3609, 20.3933, 22.3067)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F7F #4FCF9F
analogous
#CF4FBF #CF4F7F #CF5F4F
triadic
#CF4F7F #7FCF4F #4F7FCF
tetradic
#CF4F7F #BFCF4F #4FCF9F #5F4FCF
square
#CF4F7F #BFCF4F #4FCF9F #5F4FCF
split-complementary
#CF4F7F #4FCF5F #4FBFCF
monochromatic
#812346 #B13060 #CF4F7F #DC7FA2 #E9AFC5

Accessibility & contrast

On white

4.14
#CF4F7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CF4F7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4F7F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4F7F#FFFFFF#000000##000000
##CF4F7F1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D80
Deuteranopia (green-blind)
#88867C
Tritanopia (blue-blind)
#DF4262
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf4f7f;
/* rgb */ color: rgb(207, 79, 127);
/* oklch */ color: oklch(61.0% 0.167 0.1);
Tailwind
colors: {
  custom: {
    50: '#e287a4',
    500: '#cf4f7f',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f7f;
$custom-light: #e287a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f7f",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 127
  },
  "hsl": {
    "h": 337.5,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61041,
    "c": 0.16748,
    "h": 0.1
  },
  "luminance": 0.2039
}

Semantic roles & 50–950 ramp

primary
#CF4F7F
secondary
#A2D7C4
accent
#E0A747
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF4F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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