#CF4B8B#CF4B8B

#CF4B8B is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.0% C 0.178 H 353.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CF4B8B
RGBrgb(207, 75, 139)
HSLhsl(331, 58%, 55%)
HSVhsv(331, 64%, 81%)
CMYKcmyk(0%, 63.8%, 32.9%, 18.8%)
CIE-LABlab(52.02, 57.90, -7.71)
CIE-LCHlch(52.02, 58.41, 352.41°)
OKLaboklab(60.97% 0.1766 -0.0197)
OKLCHoklch(60.97% 0.178 353.6)
XYZxyz(32.9101, 20.1652, 26.5802)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4B8B #4BCF8F
analogous
#CF4BCD #CF4B8B #CF4D4B
triadic
#CF4B8B #8BCF4B #4B8BCF
tetradic
#CF4B8B #CDCF4B #4BCF8F #4D4BCF
square
#CF4B8B #CDCF4B #4BCF8F #4D4BCF
split-complementary
#CF4B8B #4BCF4D #4BCDCF
monochromatic
#7E224E #AE2E6C #CF4B8B #DC7BAA #E9ACC9

Accessibility & contrast

On white

4.17
#CF4B8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF4B8B#FFFFFF#000000##000000
##CF4B8B1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf4b8b;
/* rgb */ color: rgb(207, 75, 139);
/* oklch */ color: oklch(61.0% 0.178 353.6);
Tailwind
colors: {
  custom: {
    50: '#e285ac',
    500: '#cf4b8b',
    950: '#000000',
  },
}
SCSS
$custom: #cf4b8b;
$custom-light: #e285ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4b8b",
  "rgb": {
    "r": 207,
    "g": 75,
    "b": 139
  },
  "hsl": {
    "h": 330.909,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60974,
    "c": 0.17772,
    "h": 353.6
  },
  "luminance": 0.20162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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