#CF4F8A#CF4F8A

#CF4F8A is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.4% C 0.172 H 354.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CF4F8A
RGBrgb(207, 79, 138)
HSLhsl(332, 57%, 56%)
HSVhsv(332, 62%, 81%)
CMYKcmyk(0%, 61.8%, 33.3%, 18.8%)
CIE-LABlab(52.62, 56.08, -6.24)
CIE-LCHlch(52.62, 56.43, 353.65°)
OKLaboklab(61.4% 0.171 -0.0157)
OKLCHoklch(61.4% 0.172 354.7)
XYZxyz(33.1173, 20.6959, 26.2905)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F8A #4FCF94
analogous
#CF4FCA #CF4F8A #CF544F
triadic
#CF4F8A #8ACF4F #4F8ACF
tetradic
#CF4F8A #CACF4F #4FCF94 #544FCF
square
#CF4F8A #CACF4F #4FCF94 #544FCF
split-complementary
#CF4F8A #4FCF54 #4FCACF
monochromatic
#81234E #B1306B #CF4F8A #DC7FAA #E9AFCA

Accessibility & contrast

On white

4.09
#CF4F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CF4F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4F8A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4F8A#FFFFFF#000000##000000
##CF4F8A1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#636F8C
Deuteranopia (green-blind)
#868687
Tritanopia (blue-blind)
#DE4666
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4f8a;
/* rgb */ color: rgb(207, 79, 138);
/* oklch */ color: oklch(61.4% 0.172 354.7);
Tailwind
colors: {
  custom: {
    50: '#e287ac',
    500: '#cf4f8a',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f8a;
$custom-light: #e287ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f8a",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 332.344,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61401,
    "c": 0.17176,
    "h": 354.7
  },
  "luminance": 0.20692
}

Semantic roles & 50–950 ramp

primary
#CF4F8A
secondary
#A2D7BF
accent
#E09A47
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF4F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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