#CB4D98#CB4D98

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

Color values

HEX#CB4D98
RGBrgb(203, 77, 152)
HSLhsl(324, 55%, 55%)
HSVhsv(324, 62%, 80%)
CMYKcmyk(0%, 62.1%, 25.1%, 20.4%)
CIE-LABlab(52.15, 57.51, -15.31)
CIE-LCHlch(52.15, 59.52, 345.10°)
OKLaboklab(61.09% 0.1737 -0.0404)
OKLCHoklch(61.09% 0.178 346.9)
XYZxyz(32.9512, 20.2745, 31.8777)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4D98 #4DCB80
analogous
#BF4DCB #CB4D98 #CB4D59
triadic
#CB4D98 #98CB4D #4D98CB
tetradic
#CB4D98 #CBBF4D #4DCB80 #4D59CB
square
#CB4D98 #CBBF4D #4DCB80 #4D59CB
split-complementary
#CB4D98 #59CB4D #4DCBBF
monochromatic
#7A2457 #A93179 #CB4D98 #D97CB3 #E7ACCF

Accessibility & contrast

On white

4.15
#CB4D98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CB4D98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4D98
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4D98#FFFFFF#000000##000000
##CB4D981.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6F9A
Deuteranopia (green-blind)
#7F8495
Tritanopia (blue-blind)
#D84A6C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb4d98;
/* rgb */ color: rgb(203, 77, 152);
/* oklch */ color: oklch(61.1% 0.178 346.9);
Tailwind
colors: {
  custom: {
    50: '#de86b6',
    500: '#cb4d98',
    950: '#000000',
  },
}
SCSS
$custom: #cb4d98;
$custom-light: #de86b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4d98",
  "rgb": {
    "r": 203,
    "g": 77,
    "b": 152
  },
  "hsl": {
    "h": 324.286,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61089,
    "c": 0.17832,
    "h": 346.9
  },
  "luminance": 0.20271
}

Semantic roles & 50–950 ramp

primary
#CB4D98
secondary
#9FD4B5
accent
#DE864A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB4D98

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

Preview Lab → · Contrast checker → · Palette generator →

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