#CF4F8E#CF4F8E

#CF4F8E is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.5% C 0.174 H 352.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CF4F8E
RGBrgb(207, 79, 142)
HSLhsl(330, 57%, 56%)
HSVhsv(330, 62%, 81%)
CMYKcmyk(0%, 61.8%, 31.4%, 18.8%)
CIE-LABlab(52.75, 56.56, -8.42)
CIE-LCHlch(52.75, 57.19, 351.53°)
OKLaboklab(61.54% 0.1722 -0.0216)
OKLCHoklch(61.54% 0.174 352.9)
XYZxyz(33.4122, 20.8139, 27.8438)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F8E #4FCF90
analogous
#CF4FCE #CF4F8E #CF504F
triadic
#CF4F8E #8ECF4F #4F8ECF
tetradic
#CF4F8E #CECF4F #4FCF90 #504FCF
square
#CF4F8E #CECF4F #4FCF90 #504FCF
split-complementary
#CF4F8E #4FCF50 #4FCECF
monochromatic
#812351 #B1306F #CF4F8E #DC7FAD #E9AFCC

Accessibility & contrast

On white

4.07
#CF4F8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CF4F8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4F8E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4F8E#FFFFFF#000000##000000
##CF4F8E1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#626F90
Deuteranopia (green-blind)
#85868B
Tritanopia (blue-blind)
#DE4768
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4f8e;
/* rgb */ color: rgb(207, 79, 142);
/* oklch */ color: oklch(61.5% 0.174 352.9);
Tailwind
colors: {
  custom: {
    50: '#e187af',
    500: '#cf4f8e',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f8e;
$custom-light: #e187af;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f8e",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 142
  },
  "hsl": {
    "h": 330.469,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6154,
    "c": 0.17359,
    "h": 352.9
  },
  "luminance": 0.2081
}

Semantic roles & 50–950 ramp

primary
#CF4F8E
secondary
#A2D7BD
accent
#E09547
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF4F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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