#CB4F8B#CB4F8B

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

Color values

HEX#CB4F8B
RGBrgb(203, 79, 139)
HSLhsl(331, 54%, 55%)
HSVhsv(331, 61%, 80%)
CMYKcmyk(0%, 61.1%, 31.5%, 20.4%)
CIE-LABlab(52.01, 54.99, -7.80)
CIE-LCHlch(52.01, 55.54, 351.93°)
OKLaboklab(60.84% 0.1674 -0.0199)
OKLCHoklch(60.84% 0.169 353.2)
XYZxyz(32.0864, 20.1559, 26.6218)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4F8B #4FCB8F
analogous
#CB4FC9 #CB4F8B #CB514F
triadic
#CB4F8B #8BCB4F #4F8BCB
tetradic
#CB4F8B #C9CB4F #4FCB8F #514FCB
square
#CB4F8B #C9CB4F #4FCB8F #514FCB
split-complementary
#CB4F8B #4FCB51 #4FC9CB
monochromatic
#7B244E #AA326C #CB4F8B #D97EAA #E7ADC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB4F8B#FFFFFF#000000##000000
##CB4F8B1.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)
#616E8D
Deuteranopia (green-blind)
#838488
Tritanopia (blue-blind)
#DA4867
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb4f8b;
/* rgb */ color: rgb(203, 79, 139);
/* oklch */ color: oklch(60.8% 0.169 353.2);
Tailwind
colors: {
  custom: {
    50: '#df87ac',
    500: '#cb4f8b',
    950: '#000000',
  },
}
SCSS
$custom: #cb4f8b;
$custom-light: #df87ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4f8b",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 139
  },
  "hsl": {
    "h": 330.968,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60842,
    "c": 0.16859,
    "h": 353.2
  },
  "luminance": 0.20153
}

Semantic roles & 50–950 ramp

primary
#CB4F8B
secondary
#A1D5BC
accent
#DE964A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB4F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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