#CB4F9F#CB4F9F

#CB4F9F is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.6% C 0.180 H 344.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CB4F9F
RGBrgb(203, 79, 159)
HSLhsl(321, 54%, 55%)
HSVhsv(321, 61%, 80%)
CMYKcmyk(0%, 61.1%, 21.7%, 20.4%)
CIE-LABlab(52.72, 57.61, -18.56)
CIE-LCHlch(52.72, 60.52, 342.14°)
OKLaboklab(61.6% 0.1728 -0.0494)
OKLCHoklch(61.6% 0.18 344.1)
XYZxyz(33.6836, 20.7948, 35.0340)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4F9F #4FCB7B
analogous
#B94FCB #CB4F9F #CB4F61
triadic
#CB4F9F #9FCB4F #4F9FCB
tetradic
#CB4F9F #CBB94F #4FCB7B #4F61CB
square
#CB4F9F #CBB94F #4FCB7B #4F61CB
split-complementary
#CB4F9F #61CB4F #4FCBB9
monochromatic
#7B245C #AA3280 #CB4F9F #D97EB9 #E7ADD3

Accessibility & contrast

On white

4.07
#CB4F9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CB4F9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4F9F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4F9F#FFFFFF#000000##000000
##CB4F9F1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A71A1
Deuteranopia (green-blind)
#7E859C
Tritanopia (blue-blind)
#D74E70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb4f9f;
/* rgb */ color: rgb(203, 79, 159);
/* oklch */ color: oklch(61.6% 0.180 344.1);
Tailwind
colors: {
  custom: {
    50: '#de87bb',
    500: '#cb4f9f',
    950: '#000000',
  },
}
SCSS
$custom: #cb4f9f;
$custom-light: #de87bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4f9f",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 159
  },
  "hsl": {
    "h": 321.29,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61601,
    "c": 0.17968,
    "h": 344.1
  },
  "luminance": 0.20792
}

Semantic roles & 50–950 ramp

primary
#CB4F9F
secondary
#A1D5B3
accent
#DE7E4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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