#CF4E81#CF4E81

#CF4E81 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.0% C 0.170 H 358.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CF4E81
RGBrgb(207, 78, 129)
HSLhsl(336, 57%, 56%)
HSVhsv(336, 62%, 81%)
CMYKcmyk(0%, 62.3%, 37.7%, 18.8%)
CIE-LABlab(52.18, 55.48, -1.52)
CIE-LCHlch(52.18, 55.50, 358.43°)
OKLaboklab(60.99% 0.1695 -0.0033)
OKLCHoklch(60.99% 0.17 358.9)
XYZxyz(32.4209, 20.3028, 22.9761)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4E81 #4ECF9C
analogous
#CF4EC1 #CF4E81 #CF5B4E
triadic
#CF4E81 #81CF4E #4E81CF
tetradic
#CF4E81 #C1CF4E #4ECF9C #5B4ECF
square
#CF4E81 #C1CF4E #4ECF9C #5B4ECF
split-complementary
#CF4E81 #4ECF5B #4EC1CF
monochromatic
#802348 #B03062 #CF4E81 #DC7EA3 #E9AEC6

Accessibility & contrast

On white

4.15
#CF4E81 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CF4E81 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4E81
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4E81#FFFFFF#000000##000000
##CF4E811.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#656D82
Deuteranopia (green-blind)
#88857E
Tritanopia (blue-blind)
#DF4262
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4e81;
/* rgb */ color: rgb(207, 78, 129);
/* oklch */ color: oklch(61.0% 0.170 358.9);
Tailwind
colors: {
  custom: {
    50: '#e286a5',
    500: '#cf4e81',
    950: '#000000',
  },
}
SCSS
$custom: #cf4e81;
$custom-light: #e286a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4e81",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 129
  },
  "hsl": {
    "h": 336.279,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60985,
    "c": 0.16954,
    "h": 358.9
  },
  "luminance": 0.20299
}

Semantic roles & 50–950 ramp

primary
#CF4E81
secondary
#A2D7C2
accent
#E1A447
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF4E81

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

Preview Lab → · Contrast checker → · Palette generator →

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