#CB4D8E#CB4D8E

#CB4D8E is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.7% C 0.173 H 351.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CB4D8E
RGBrgb(203, 77, 142)
HSLhsl(329, 55%, 55%)
HSVhsv(329, 62%, 80%)
CMYKcmyk(0%, 62.1%, 30%, 20.4%)
CIE-LABlab(51.79, 56.23, -9.91)
CIE-LCHlch(51.79, 57.09, 350.00°)
OKLaboklab(60.71% 0.171 -0.0256)
OKLCHoklch(60.71% 0.173 351.5)
XYZxyz(32.1665, 19.9606, 27.7447)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4D8E #4DCB8A
analogous
#C94DCB #CB4D8E #CB4D4F
triadic
#CB4D8E #8ECB4D #4D8ECB
tetradic
#CB4D8E #CBC94D #4DCB8A #4D4FCB
square
#CB4D8E #CBC94D #4DCB8A #4D4FCB
split-complementary
#CB4D8E #4FCB4D #4DCBC9
monochromatic
#7A2450 #A9316F #CB4D8E #D97CAC #E7ACCA

Accessibility & contrast

On white

4.21
#CB4D8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CB4D8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4D8E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4D8E#FFFFFF#000000##000000
##CB4D8E1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6D90
Deuteranopia (green-blind)
#82848B
Tritanopia (blue-blind)
#D94767
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb4d8e;
/* rgb */ color: rgb(203, 77, 142);
/* oklch */ color: oklch(60.7% 0.173 351.5);
Tailwind
colors: {
  custom: {
    50: '#df86af',
    500: '#cb4d8e',
    950: '#000000',
  },
}
SCSS
$custom: #cb4d8e;
$custom-light: #df86af;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4d8e",
  "rgb": {
    "r": 203,
    "g": 77,
    "b": 142
  },
  "hsl": {
    "h": 329.048,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60712,
    "c": 0.1729,
    "h": 351.5
  },
  "luminance": 0.19957
}

Semantic roles & 50–950 ramp

primary
#CB4D8E
secondary
#9FD4B9
accent
#DE924A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB4D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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