#CF4A8A#CF4A8A

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

Color values

HEX#CF4A8A
RGBrgb(207, 74, 138)
HSLhsl(331, 58%, 55%)
HSVhsv(331, 64%, 81%)
CMYKcmyk(0%, 64.3%, 33.3%, 18.8%)
CIE-LABlab(51.84, 58.19, -7.39)
CIE-LCHlch(51.84, 58.66, 352.76°)
OKLaboklab(60.83% 0.1776 -0.0188)
OKLCHoklch(60.83% 0.179 354)
XYZxyz(32.7701, 20.0015, 26.1747)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4A8A #4ACF8F
analogous
#CF4ACC #CF4A8A #CF4C4A
triadic
#CF4A8A #8ACF4A #4A8ACF
tetradic
#CF4A8A #CCCF4A #4ACF8F #4C4ACF
square
#CF4A8A #CCCF4A #4ACF8F #4C4ACF
split-complementary
#CF4A8A #4ACF4C #4ACCCF
monochromatic
#7D214E #AE2E6B #CF4A8A #DC7AA9 #E9ABC9

Accessibility & contrast

On white

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

On black

5.00
#CF4A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4A8A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4A8A#FFFFFF#000000##000000
##CF4A8A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf4a8a;
/* rgb */ color: rgb(207, 74, 138);
/* oklch */ color: oklch(60.8% 0.179 354.0);
Tailwind
colors: {
  custom: {
    50: '#e284ac',
    500: '#cf4a8a',
    950: '#000000',
  },
}
SCSS
$custom: #cf4a8a;
$custom-light: #e284ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4a8a",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 331.128,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60827,
    "c": 0.17862,
    "h": 354
  },
  "luminance": 0.19998
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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