#CB4F7F#CB4F7F

#CB4F7F is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.4% C 0.164 H 359.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CB4F7F
RGBrgb(203, 79, 127)
HSLhsl(337, 54%, 55%)
HSVhsv(337, 61%, 80%)
CMYKcmyk(0%, 61.1%, 37.4%, 20.4%)
CIE-LABlab(51.64, 53.58, -1.19)
CIE-LCHlch(51.64, 53.59, 358.72°)
OKLaboklab(60.44% 0.1636 -0.0025)
OKLCHoklch(60.44% 0.164 359.1)
XYZxyz(31.2572, 19.8242, 22.2549)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4F7F #4FCB9B
analogous
#CB4FBD #CB4F7F #CB5D4F
triadic
#CB4F7F #7FCB4F #4F7FCB
tetradic
#CB4F7F #BDCB4F #4FCB9B #5D4FCB
square
#CB4F7F #BDCB4F #4FCB9B #5D4FCB
split-complementary
#CB4F7F #4FCB5D #4FBDCB
monochromatic
#7B2446 #AA3261 #CB4F7F #D97EA1 #E7ADC4

Accessibility & contrast

On white

4.23
#CB4F7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CB4F7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4F7F
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4F7F#FFFFFF#000000##000000
##CB4F7F1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C80
Deuteranopia (green-blind)
#86847C
Tritanopia (blue-blind)
#DB4462
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb4f7f;
/* rgb */ color: rgb(203, 79, 127);
/* oklch */ color: oklch(60.4% 0.164 359.1);
Tailwind
colors: {
  custom: {
    50: '#df86a4',
    500: '#cb4f7f',
    950: '#000000',
  },
}
SCSS
$custom: #cb4f7f;
$custom-light: #df86a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4f7f",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 127
  },
  "hsl": {
    "h": 336.774,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6044,
    "c": 0.16361,
    "h": 359.1
  },
  "luminance": 0.19821
}

Semantic roles & 50–950 ramp

primary
#CB4F7F
secondary
#A1D5C1
accent
#DEA54A
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB4F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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