#CF4F82#CF4F82

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

Color values

HEX#CF4F82
RGBrgb(207, 79, 130)
HSLhsl(336, 57%, 56%)
HSVhsv(336, 62%, 81%)
CMYKcmyk(0%, 61.8%, 37.2%, 18.8%)
CIE-LABlab(52.37, 55.16, -1.84)
CIE-LCHlch(52.37, 55.19, 358.09°)
OKLaboklab(61.14% 0.1685 -0.0041)
OKLCHoklch(61.14% 0.169 358.6)
XYZxyz(32.5593, 20.4727, 23.3517)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F82 #4FCF9C
analogous
#CF4FC2 #CF4F82 #CF5C4F
triadic
#CF4F82 #82CF4F #4F82CF
tetradic
#CF4F82 #C2CF4F #4FCF9C #5C4FCF
square
#CF4F82 #C2CF4F #4FCF9C #5C4FCF
split-complementary
#CF4F82 #4FCF5C #4FC2CF
monochromatic
#812348 #B13063 #CF4F82 #DC7FA4 #E9AFC6

Accessibility & contrast

On white

4.12
#CF4F82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF4F82#FFFFFF#000000##000000
##CF4F821.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf4f82;
/* rgb */ color: rgb(207, 79, 130);
/* oklch */ color: oklch(61.1% 0.169 358.6);
Tailwind
colors: {
  custom: {
    50: '#e287a6',
    500: '#cf4f82',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f82;
$custom-light: #e287a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f82",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 130
  },
  "hsl": {
    "h": 336.094,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61136,
    "c": 0.16853,
    "h": 358.6
  },
  "luminance": 0.20469
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4F82

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

Preview Lab → · Contrast checker → · Palette generator →

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