#CF4F87#CF4F87

#CF4F87 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.3% C 0.170 H 356.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CF4F87
RGBrgb(207, 79, 135)
HSLhsl(334, 57%, 56%)
HSVhsv(334, 62%, 81%)
CMYKcmyk(0%, 61.8%, 34.8%, 18.8%)
CIE-LABlab(52.52, 55.73, -4.59)
CIE-LCHlch(52.52, 55.92, 355.29°)
OKLaboklab(61.3% 0.1701 -0.0114)
OKLCHoklch(61.3% 0.17 356.2)
XYZxyz(32.9031, 20.6102, 25.1624)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F87 #4FCF97
analogous
#CF4FC7 #CF4F87 #CF574F
triadic
#CF4F87 #87CF4F #4F87CF
tetradic
#CF4F87 #C7CF4F #4FCF97 #574FCF
square
#CF4F87 #C7CF4F #4FCF97 #574FCF
split-complementary
#CF4F87 #4FCF57 #4FC7CF
monochromatic
#81234C #B13068 #CF4F87 #DC7FA8 #E9AFC9

Accessibility & contrast

On white

4.10
#CF4F87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CF4F87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4F87
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4F87#FFFFFF#000000##000000
##CF4F871.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#646E89
Deuteranopia (green-blind)
#878684
Tritanopia (blue-blind)
#DE4565
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf4f87;
/* rgb */ color: rgb(207, 79, 135);
/* oklch */ color: oklch(61.3% 0.170 356.2);
Tailwind
colors: {
  custom: {
    50: '#e287a9',
    500: '#cf4f87',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f87;
$custom-light: #e287a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f87",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 333.75,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.613,
    "c": 0.17048,
    "h": 356.2
  },
  "luminance": 0.20607
}

Semantic roles & 50–950 ramp

primary
#CF4F87
secondary
#A2D7C0
accent
#E09D47
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF4F87

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

Preview Lab → · Contrast checker → · Palette generator →

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