#CB4F98#CB4F98

#CB4F98 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.3% C 0.175 H 347.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CB4F98
RGBrgb(203, 79, 152)
HSLhsl(325, 54%, 55%)
HSVhsv(325, 61%, 80%)
CMYKcmyk(0%, 61.1%, 25.1%, 20.4%)
CIE-LABlab(52.46, 56.65, -14.83)
CIE-LCHlch(52.46, 58.56, 345.33°)
OKLaboklab(61.32% 0.171 -0.0391)
OKLCHoklch(61.32% 0.175 347.1)
XYZxyz(33.0933, 20.5587, 31.9250)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4F98 #4FCB82
analogous
#C04FCB #CB4F98 #CB4F5A
triadic
#CB4F98 #98CB4F #4F98CB
tetradic
#CB4F98 #CBC04F #4FCB82 #4F5ACB
square
#CB4F98 #CBC04F #4FCB82 #4F5ACB
split-complementary
#CB4F98 #5ACB4F #4FCBC0
monochromatic
#7B2458 #AA3279 #CB4F98 #D97EB4 #E7ADCF

Accessibility & contrast

On white

4.11
#CB4F98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CB4F98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4F98
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4F98#FFFFFF#000000##000000
##CB4F981.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D709A
Deuteranopia (green-blind)
#808595
Tritanopia (blue-blind)
#D84C6D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb4f98;
/* rgb */ color: rgb(203, 79, 152);
/* oklch */ color: oklch(61.3% 0.175 347.1);
Tailwind
colors: {
  custom: {
    50: '#de87b6',
    500: '#cb4f98',
    950: '#000000',
  },
}
SCSS
$custom: #cb4f98;
$custom-light: #de87b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4f98",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 324.677,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61323,
    "c": 0.17544,
    "h": 347.1
  },
  "luminance": 0.20555
}

Semantic roles & 50–950 ramp

primary
#CB4F98
secondary
#A1D5B6
accent
#DE874A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB4F98

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

Preview Lab → · Contrast checker → · Palette generator →

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