#CF4E82#CF4E82

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

Color values

HEX#CF4E82
RGBrgb(207, 78, 130)
HSLhsl(336, 57%, 56%)
HSVhsv(336, 62%, 81%)
CMYKcmyk(0%, 62.3%, 37.2%, 18.8%)
CIE-LABlab(52.21, 55.59, -2.08)
CIE-LCHlch(52.21, 55.63, 357.86°)
OKLaboklab(61.02% 0.1698 -0.0047)
OKLCHoklch(61.02% 0.17 358.4)
XYZxyz(32.4877, 20.3295, 23.3279)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4E82 #4ECF9B
analogous
#CF4EC2 #CF4E82 #CF5A4E
triadic
#CF4E82 #82CF4E #4E82CF
tetradic
#CF4E82 #C2CF4E #4ECF9B #5A4ECF
square
#CF4E82 #C2CF4E #4ECF9B #5A4ECF
split-complementary
#CF4E82 #4ECF5A #4EC2CF
monochromatic
#802348 #B03063 #CF4E82 #DC7EA4 #E9AEC6

Accessibility & contrast

On white

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

On black

5.07
#CF4E82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4E82
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4E82#FFFFFF#000000##000000
##CF4E821.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#656D83
Deuteranopia (green-blind)
#87867F
Tritanopia (blue-blind)
#DF4263
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4e82;
/* rgb */ color: rgb(207, 78, 130);
/* oklch */ color: oklch(61.0% 0.170 358.4);
Tailwind
colors: {
  custom: {
    50: '#e286a6',
    500: '#cf4e82',
    950: '#000000',
  },
}
SCSS
$custom: #cf4e82;
$custom-light: #e286a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4e82",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 335.814,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61018,
    "c": 0.16991,
    "h": 358.4
  },
  "luminance": 0.20326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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