#CB4F9B#CB4F9B

#CB4F9B is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.4% C 0.177 H 345.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CB4F9B
RGBrgb(203, 79, 155)
HSLhsl(323, 54%, 55%)
HSVhsv(323, 61%, 80%)
CMYKcmyk(0%, 61.1%, 23.6%, 20.4%)
CIE-LABlab(52.57, 57.06, -16.43)
CIE-LCHlch(52.57, 59.38, 343.93°)
OKLaboklab(61.44% 0.1718 -0.0435)
OKLCHoklch(61.44% 0.177 345.8)
XYZxyz(33.3421, 20.6582, 33.2354)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4F9B #4FCB7F
analogous
#BD4FCB #CB4F9B #CB4F5D
triadic
#CB4F9B #9BCB4F #4F9BCB
tetradic
#CB4F9B #CBBD4F #4FCB7F #4F5DCB
square
#CB4F9B #CBBD4F #4FCB7F #4F5DCB
split-complementary
#CB4F9B #5DCB4F #4FCBBD
monochromatic
#7B245A #AA327C #CB4F9B #D97EB6 #E7ADD1

Accessibility & contrast

On white

4.09
#CB4F9B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#CB4F9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4F9B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4F9B#FFFFFF#000000##000000
##CB4F9B1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C709D
Deuteranopia (green-blind)
#7F8598
Tritanopia (blue-blind)
#D84D6E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb4f9b;
/* rgb */ color: rgb(203, 79, 155);
/* oklch */ color: oklch(61.4% 0.177 345.8);
Tailwind
colors: {
  custom: {
    50: '#de87b8',
    500: '#cb4f9b',
    950: '#000000',
  },
}
SCSS
$custom: #cb4f9b;
$custom-light: #de87b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4f9b",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 155
  },
  "hsl": {
    "h": 323.226,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61441,
    "c": 0.17722,
    "h": 345.8
  },
  "luminance": 0.20655
}

Semantic roles & 50–950 ramp

primary
#CB4F9B
secondary
#A1D5B5
accent
#DE834A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB4F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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