#CB4BAC#CB4BAC

#CB4BAC is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.7% C 0.194 H 338.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CB4BAC
RGBrgb(203, 75, 172)
HSLhsl(315, 55%, 55%)
HSVhsv(315, 63%, 80%)
CMYKcmyk(0%, 63.1%, 15.3%, 20.4%)
CIE-LABlab(52.63, 61.16, -26.33)
CIE-LCHlch(52.63, 66.59, 336.71°)
OKLaboklab(61.71% 0.1805 -0.0711)
OKLCHoklch(61.71% 0.194 338.5)
XYZxyz(34.5917, 20.7102, 41.1974)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4BAC #4BCB6A
analogous
#AA4BCB #CB4BAC #CB4B6C
triadic
#CB4BAC #ACCB4B #4BACCB
tetradic
#CB4BAC #CBAA4B #4BCB6A #4B6CCB
square
#CB4BAC #CBAA4B #4BCB6A #4B6CCB
split-complementary
#CB4BAC #6CCB4B #4BCBAA
monochromatic
#792364 #A8318B #CB4BAC #D97AC2 #E6AAD8

Accessibility & contrast

On white

4.08
#CB4BAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CB4BAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4BAC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4BAC#FFFFFF#000000##000000
##CB4BAC1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5071AF
Deuteranopia (green-blind)
#7785A9
Tritanopia (blue-blind)
#D65075
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb4bac;
/* rgb */ color: rgb(203, 75, 172);
/* oklch */ color: oklch(61.7% 0.194 338.5);
Tailwind
colors: {
  custom: {
    50: '#de85c5',
    500: '#cb4bac',
    950: '#000000',
  },
}
SCSS
$custom: #cb4bac;
$custom-light: #de85c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4bac",
  "rgb": {
    "r": 203,
    "g": 75,
    "b": 172
  },
  "hsl": {
    "h": 314.531,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61705,
    "c": 0.194,
    "h": 338.5
  },
  "luminance": 0.20707
}

Semantic roles & 50–950 ramp

primary
#CB4BAC
secondary
#9ED4AB
accent
#DF6D49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB4BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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