#CB4FAC#CB4FAC

#CB4FAC is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.2% C 0.188 H 338.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CB4FAC
RGBrgb(203, 79, 172)
HSLhsl(315, 54%, 55%)
HSVhsv(315, 61%, 80%)
CMYKcmyk(0%, 61.1%, 15.3%, 20.4%)
CIE-LABlab(53.24, 59.48, -25.38)
CIE-LCHlch(53.24, 64.67, 336.89°)
OKLaboklab(62.15% 0.1755 -0.0685)
OKLCHoklch(62.15% 0.188 338.7)
XYZxyz(34.8716, 21.2700, 41.2906)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4FAC #4FCB6E
analogous
#AC4FCB #CB4FAC #CB4F6E
triadic
#CB4FAC #ACCB4F #4FACCB
tetradic
#CB4FAC #CBAC4F #4FCB6E #4F6ECB
square
#CB4FAC #CBAC4F #4FCB6E #4F6ECB
split-complementary
#CB4FAC #6ECB4F #4FCBAC
monochromatic
#7B2465 #AA328C #CB4FAC #D97EC2 #E7ADD9

Accessibility & contrast

On white

4.00
#CB4FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CB4FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4FAC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4FAC#FFFFFF#000000##000000
##CB4FAC1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5473AF
Deuteranopia (green-blind)
#7986A9
Tritanopia (blue-blind)
#D65376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb4fac;
/* rgb */ color: rgb(203, 79, 172);
/* oklch */ color: oklch(62.2% 0.188 338.7);
Tailwind
colors: {
  custom: {
    50: '#de87c5',
    500: '#cb4fac',
    950: '#000000',
  },
}
SCSS
$custom: #cb4fac;
$custom-light: #de87c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4fac",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 315,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62154,
    "c": 0.18837,
    "h": 338.7
  },
  "luminance": 0.21267
}

Semantic roles & 50–950 ramp

primary
#CB4FAC
secondary
#A1D5AE
accent
#DE6F4A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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