#CB4A98#CB4A98

#CB4A98 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.7% C 0.183 H 346.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CB4A98
RGBrgb(203, 74, 152)
HSLhsl(324, 55%, 54%)
HSVhsv(324, 64%, 80%)
CMYKcmyk(0%, 63.5%, 25.1%, 20.4%)
CIE-LABlab(51.68, 58.78, -16.01)
CIE-LCHlch(51.68, 60.92, 344.76°)
OKLaboklab(60.75% 0.1776 -0.0423)
OKLCHoklch(60.75% 0.183 346.6)
XYZxyz(32.7461, 19.8643, 31.8093)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4A98 #4ACB7D
analogous
#BE4ACB #CB4A98 #CB4A58
triadic
#CB4A98 #98CB4A #4A98CB
tetradic
#CB4A98 #CBBE4A #4ACB7D #4A58CB
square
#CB4A98 #CBBE4A #4ACB7D #4A58CB
split-complementary
#CB4A98 #58CB4A #4ACBBE
monochromatic
#782356 #A83078 #CB4A98 #D97AB3 #E6A9CE

Accessibility & contrast

On white

4.22
#CB4A98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CB4A98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4A98
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4A98#FFFFFF#000000##000000
##CB4A981.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#586D9A
Deuteranopia (green-blind)
#7D8395
Tritanopia (blue-blind)
#D8476B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb4a98;
/* rgb */ color: rgb(203, 74, 152);
/* oklch */ color: oklch(60.7% 0.183 346.6);
Tailwind
colors: {
  custom: {
    50: '#de84b6',
    500: '#cb4a98',
    950: '#000000',
  },
}
SCSS
$custom: #cb4a98;
$custom-light: #de84b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4a98",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 152
  },
  "hsl": {
    "h": 323.721,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60748,
    "c": 0.18252,
    "h": 346.6
  },
  "luminance": 0.19861
}

Semantic roles & 50–950 ramp

primary
#CB4A98
secondary
#9DD4B3
accent
#DF8449
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CB4A98

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

Preview Lab → · Contrast checker → · Palette generator →

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