#CB4F7D#CB4F7D

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

Color values

HEX#CB4F7D
RGBrgb(203, 79, 125)
HSLhsl(338, 54%, 55%)
HSVhsv(338, 61%, 80%)
CMYKcmyk(0%, 61.1%, 38.4%, 20.4%)
CIE-LABlab(51.58, 53.36, -0.08)
CIE-LCHlch(51.58, 53.36, 359.91°)
OKLaboklab(60.38% 0.1629 0.0004)
OKLCHoklch(60.38% 0.163 0.2)
XYZxyz(31.1282, 19.7726, 21.5753)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4F7D #4FCB9D
analogous
#CB4FBB #CB4F7D #CB5F4F
triadic
#CB4F7D #7DCB4F #4F7DCB
tetradic
#CB4F7D #BBCB4F #4FCB9D #5F4FCB
square
#CB4F7D #BBCB4F #4FCB9D #5F4FCB
split-complementary
#CB4F7D #4FCB5F #4FBBCB
monochromatic
#7B2445 #AA325F #CB4F7D #D97EA0 #E7ADC3

Accessibility & contrast

On white

4.24
#CB4F7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CB4F7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4F7D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4F7D#FFFFFF#000000##000000
##CB4F7D1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7E
Deuteranopia (green-blind)
#86847A
Tritanopia (blue-blind)
#DB4361
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb4f7d;
/* rgb */ color: rgb(203, 79, 125);
/* oklch */ color: oklch(60.4% 0.163 0.2);
Tailwind
colors: {
  custom: {
    50: '#df86a2',
    500: '#cb4f7d',
    950: '#000000',
  },
}
SCSS
$custom: #cb4f7d;
$custom-light: #df86a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4f7d",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 337.742,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60377,
    "c": 0.16292,
    "h": 0.2
  },
  "luminance": 0.19769
}

Semantic roles & 50–950 ramp

primary
#CB4F7D
secondary
#A1D5C2
accent
#DEA74A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CB4F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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