#CB4F8A#CB4F8A

#CB4F8A is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.8% C 0.168 H 353.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CB4F8A
RGBrgb(203, 79, 138)
HSLhsl(331, 54%, 55%)
HSVhsv(331, 61%, 80%)
CMYKcmyk(0%, 61.1%, 32%, 20.4%)
CIE-LABlab(51.98, 54.87, -7.25)
CIE-LCHlch(51.98, 55.34, 352.47°)
OKLaboklab(60.81% 0.1671 -0.0185)
OKLCHoklch(60.81% 0.168 353.7)
XYZxyz(32.0136, 20.1268, 26.2387)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4F8A #4FCB90
analogous
#CB4FC8 #CB4F8A #CB524F
triadic
#CB4F8A #8ACB4F #4F8ACB
tetradic
#CB4F8A #C8CB4F #4FCB90 #524FCB
square
#CB4F8A #C8CB4F #4FCB90 #524FCB
split-complementary
#CB4F8A #4FCB52 #4FC8CB
monochromatic
#7B244E #AA326B #CB4F8A #D97EA9 #E7ADC9

Accessibility & contrast

On white

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

On black

5.02
#CB4F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4F8A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4F8A#FFFFFF#000000##000000
##CB4F8A1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#626E8C
Deuteranopia (green-blind)
#838487
Tritanopia (blue-blind)
#DA4766
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb4f8a;
/* rgb */ color: rgb(203, 79, 138);
/* oklch */ color: oklch(60.8% 0.168 353.7);
Tailwind
colors: {
  custom: {
    50: '#df87ac',
    500: '#cb4f8a',
    950: '#000000',
  },
}
SCSS
$custom: #cb4f8a;
$custom-light: #df87ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4f8a",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 331.452,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60807,
    "c": 0.16813,
    "h": 353.7
  },
  "luminance": 0.20123
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB4F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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