#CF4A8B#CF4A8B

#CF4A8B is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.9% C 0.179 H 353.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CF4A8B
RGBrgb(207, 74, 139)
HSLhsl(331, 58%, 55%)
HSVhsv(331, 64%, 81%)
CMYKcmyk(0%, 64.3%, 32.9%, 18.8%)
CIE-LABlab(51.87, 58.31, -7.94)
CIE-LCHlch(51.87, 58.85, 352.25°)
OKLaboklab(60.86% 0.1779 -0.0203)
OKLCHoklch(60.86% 0.179 353.5)
XYZxyz(32.8428, 20.0306, 26.5578)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4A8B #4ACF8E
analogous
#CF4ACD #CF4A8B #CF4C4A
triadic
#CF4A8B #8BCF4A #4A8BCF
tetradic
#CF4A8B #CDCF4A #4ACF8E #4C4ACF
square
#CF4A8B #CDCF4A #4ACF8E #4C4ACF
split-complementary
#CF4A8B #4ACF4C #4ACDCF
monochromatic
#7D214E #AE2E6C #CF4A8B #DC7AAA #E9ABC9

Accessibility & contrast

On white

4.20
#CF4A8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CF4A8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4A8B
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4A8B#FFFFFF#000000##000000
##CF4A8B1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8D
Deuteranopia (green-blind)
#848588
Tritanopia (blue-blind)
#DE4164
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4a8b;
/* rgb */ color: rgb(207, 74, 139);
/* oklch */ color: oklch(60.9% 0.179 353.5);
Tailwind
colors: {
  custom: {
    50: '#e284ac',
    500: '#cf4a8b',
    950: '#000000',
  },
}
SCSS
$custom: #cf4a8b;
$custom-light: #e284ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4a8b",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 139
  },
  "hsl": {
    "h": 330.677,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60862,
    "c": 0.17908,
    "h": 353.5
  },
  "luminance": 0.20027
}

Semantic roles & 50–950 ramp

primary
#CF4A8B
secondary
#9FD6BB
accent
#E19646
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CF4A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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