#CB4D97#CB4D97

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

Color values

HEX#CB4D97
RGBrgb(203, 77, 151)
HSLhsl(325, 55%, 55%)
HSVhsv(325, 62%, 80%)
CMYKcmyk(0%, 62.1%, 25.6%, 20.4%)
CIE-LABlab(52.11, 57.38, -14.77)
CIE-LCHlch(52.11, 59.25, 345.56°)
OKLaboklab(61.05% 0.1734 -0.0389)
OKLCHoklch(61.05% 0.178 347.4)
XYZxyz(32.8696, 20.2419, 31.4481)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4D97 #4DCB81
analogous
#C04DCB #CB4D97 #CB4D58
triadic
#CB4D97 #97CB4D #4D97CB
tetradic
#CB4D97 #CBC04D #4DCB81 #4D58CB
square
#CB4D97 #CBC04D #4DCB81 #4D58CB
split-complementary
#CB4D97 #58CB4D #4DCBC0
monochromatic
#7A2456 #A93178 #CB4D97 #D97CB3 #E7ACCE

Accessibility & contrast

On white

4.16
#CB4D97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB4D97#FFFFFF#000000##000000
##CB4D971.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6E99
Deuteranopia (green-blind)
#7F8494
Tritanopia (blue-blind)
#D84A6B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb4d97;
/* rgb */ color: rgb(203, 77, 151);
/* oklch */ color: oklch(61.1% 0.178 347.4);
Tailwind
colors: {
  custom: {
    50: '#de86b5',
    500: '#cb4d97',
    950: '#000000',
  },
}
SCSS
$custom: #cb4d97;
$custom-light: #de86b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4d97",
  "rgb": {
    "r": 203,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 324.762,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6105,
    "c": 0.17774,
    "h": 347.4
  },
  "luminance": 0.20239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB4D97

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

Preview Lab → · Contrast checker → · Palette generator →

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