#CF4B8A#CF4B8A

#CF4B8A is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.9% C 0.177 H 354.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CF4B8A
RGBrgb(207, 75, 138)
HSLhsl(331, 58%, 55%)
HSVhsv(331, 64%, 81%)
CMYKcmyk(0%, 63.8%, 33.3%, 18.8%)
CIE-LABlab(51.99, 57.78, -7.17)
CIE-LCHlch(51.99, 58.22, 352.93°)
OKLaboklab(60.94% 0.1763 -0.0182)
OKLCHoklch(60.94% 0.177 354.1)
XYZxyz(32.8374, 20.1361, 26.1972)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4B8A #4BCF90
analogous
#CF4BCC #CF4B8A #CF4E4B
triadic
#CF4B8A #8ACF4B #4B8ACF
tetradic
#CF4B8A #CCCF4B #4BCF90 #4E4BCF
square
#CF4B8A #CCCF4B #4BCF90 #4E4BCF
split-complementary
#CF4B8A #4BCF4E #4BCCCF
monochromatic
#7E224E #AE2E6B #CF4B8A #DC7BA9 #E9ACC9

Accessibility & contrast

On white

4.18
#CF4B8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CF4B8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4B8A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4B8A#FFFFFF#000000##000000
##CF4B8A1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#606D8C
Deuteranopia (green-blind)
#848587
Tritanopia (blue-blind)
#DE4265
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4b8a;
/* rgb */ color: rgb(207, 75, 138);
/* oklch */ color: oklch(60.9% 0.177 354.1);
Tailwind
colors: {
  custom: {
    50: '#e285ac',
    500: '#cf4b8a',
    950: '#000000',
  },
}
SCSS
$custom: #cf4b8a;
$custom-light: #e285ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4b8a",
  "rgb": {
    "r": 207,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 331.364,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60939,
    "c": 0.17727,
    "h": 354.1
  },
  "luminance": 0.20133
}

Semantic roles & 50–950 ramp

primary
#CF4B8A
secondary
#9FD6BC
accent
#E19747
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF4B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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