#CB4F97#CB4F97

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

Color values

HEX#CB4F97
RGBrgb(203, 79, 151)
HSLhsl(325, 54%, 55%)
HSVhsv(325, 61%, 80%)
CMYKcmyk(0%, 61.1%, 25.6%, 20.4%)
CIE-LABlab(52.43, 56.52, -14.29)
CIE-LCHlch(52.43, 58.30, 345.81°)
OKLaboklab(61.28% 0.1708 -0.0376)
OKLCHoklch(61.28% 0.175 347.6)
XYZxyz(33.0117, 20.5260, 31.4955)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4F97 #4FCB83
analogous
#C14FCB #CB4F97 #CB4F59
triadic
#CB4F97 #97CB4F #4F97CB
tetradic
#CB4F97 #CBC14F #4FCB83 #4F59CB
square
#CB4F97 #CBC14F #4FCB83 #4F59CB
split-complementary
#CB4F97 #59CB4F #4FCBC1
monochromatic
#7B2457 #AA3278 #CB4F97 #D97EB3 #E7ADCF

Accessibility & contrast

On white

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

On black

5.10
#CB4F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4F97
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4F97#FFFFFF#000000##000000
##CB4F971.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7099
Deuteranopia (green-blind)
#808594
Tritanopia (blue-blind)
#D84C6C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb4f97;
/* rgb */ color: rgb(203, 79, 151);
/* oklch */ color: oklch(61.3% 0.175 347.6);
Tailwind
colors: {
  custom: {
    50: '#de87b5',
    500: '#cb4f97',
    950: '#000000',
  },
}
SCSS
$custom: #cb4f97;
$custom-light: #de87b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4f97",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 325.161,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61284,
    "c": 0.17487,
    "h": 347.6
  },
  "luminance": 0.20523
}

Semantic roles & 50–950 ramp

primary
#CB4F97
secondary
#A1D5B7
accent
#DE884A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB4F97

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

Preview Lab → · Contrast checker → · Palette generator →

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