#CB4F91#CB4F91

#CB4F91 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.1% C 0.172 H 350.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CB4F91
RGBrgb(203, 79, 145)
HSLhsl(328, 54%, 55%)
HSVhsv(328, 61%, 80%)
CMYKcmyk(0%, 61.1%, 28.6%, 20.4%)
CIE-LABlab(52.22, 55.74, -11.06)
CIE-LCHlch(52.22, 56.83, 348.78°)
OKLaboklab(61.06% 0.1692 -0.0288)
OKLCHoklch(61.06% 0.172 350.4)
XYZxyz(32.5368, 20.3361, 28.9943)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4F91 #4FCB89
analogous
#C74FCB #CB4F91 #CB4F53
triadic
#CB4F91 #91CB4F #4F91CB
tetradic
#CB4F91 #CBC74F #4FCB89 #4F53CB
square
#CB4F91 #CBC74F #4FCB89 #4F53CB
split-complementary
#CB4F91 #53CB4F #4FCBC7
monochromatic
#7B2453 #AA3272 #CB4F91 #D97EAF #E7ADCC

Accessibility & contrast

On white

4.14
#CB4F91 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CB4F91 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4F91
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4F91#FFFFFF#000000##000000
##CB4F911.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6F93
Deuteranopia (green-blind)
#82858E
Tritanopia (blue-blind)
#D94A6A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb4f91;
/* rgb */ color: rgb(203, 79, 145);
/* oklch */ color: oklch(61.1% 0.172 350.4);
Tailwind
colors: {
  custom: {
    50: '#de87b1',
    500: '#cb4f91',
    950: '#000000',
  },
}
SCSS
$custom: #cb4f91;
$custom-light: #de87b1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4f91",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 145
  },
  "hsl": {
    "h": 328.065,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61058,
    "c": 0.17159,
    "h": 350.4
  },
  "luminance": 0.20333
}

Semantic roles & 50–950 ramp

primary
#CB4F91
secondary
#A1D5B9
accent
#DE8F4A
background
#FEF8FA
surface
#FCF0F5
border
#D5CBCF
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB4F91

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

Preview Lab → · Contrast checker → · Palette generator →

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