#CF4F81#CF4F81

#CF4F81 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.1% C 0.168 H 359.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CF4F81
RGBrgb(207, 79, 129)
HSLhsl(337, 57%, 56%)
HSVhsv(337, 62%, 81%)
CMYKcmyk(0%, 61.8%, 37.7%, 18.8%)
CIE-LABlab(52.34, 55.05, -1.29)
CIE-LCHlch(52.34, 55.07, 358.66°)
OKLaboklab(61.1% 0.1682 -0.0027)
OKLCHoklch(61.1% 0.168 359.1)
XYZxyz(32.4925, 20.4460, 23.0000)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F81 #4FCF9D
analogous
#CF4FC1 #CF4F81 #CF5D4F
triadic
#CF4F81 #81CF4F #4F81CF
tetradic
#CF4F81 #C1CF4F #4FCF9D #5D4FCF
square
#CF4F81 #C1CF4F #4FCF9D #5D4FCF
split-complementary
#CF4F81 #4FCF5D #4FC1CF
monochromatic
#812348 #B13062 #CF4F81 #DC7FA3 #E9AFC6

Accessibility & contrast

On white

4.13
#CF4F81 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CF4F81 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4F81
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4F81#FFFFFF#000000##000000
##CF4F811.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#666E82
Deuteranopia (green-blind)
#88867E
Tritanopia (blue-blind)
#DF4363
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf4f81;
/* rgb */ color: rgb(207, 79, 129);
/* oklch */ color: oklch(61.1% 0.168 359.1);
Tailwind
colors: {
  custom: {
    50: '#e287a5',
    500: '#cf4f81',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f81;
$custom-light: #e287a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f81",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 129
  },
  "hsl": {
    "h": 336.563,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61104,
    "c": 0.16817,
    "h": 359.1
  },
  "luminance": 0.20442
}

Semantic roles & 50–950 ramp

primary
#CF4F81
secondary
#A2D7C3
accent
#E0A547
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF4F81

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

Preview Lab → · Contrast checker → · Palette generator →

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