#CB4E7B#CB4E7B

#CB4E7B is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.2% C 0.164 H 0.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CB4E7B
RGBrgb(203, 78, 123)
HSLhsl(338, 55%, 55%)
HSVhsv(338, 62%, 80%)
CMYKcmyk(0%, 61.6%, 39.4%, 20.4%)
CIE-LABlab(51.36, 53.58, 0.79)
CIE-LCHlch(51.36, 53.59, 0.85°)
OKLaboklab(60.19% 0.1636 0.0027)
OKLCHoklch(60.19% 0.164 0.9)
XYZxyz(30.9301, 19.5788, 20.8853)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4E7B #4ECB9E
analogous
#CB4EB9 #CB4E7B #CB5F4E
triadic
#CB4E7B #7BCB4E #4E7BCB
tetradic
#CB4E7B #B9CB4E #4ECB9E #5F4ECB
square
#CB4E7B #B9CB4E #4ECB9E #5F4ECB
split-complementary
#CB4E7B #4ECB5F #4EB9CB
monochromatic
#7B2443 #AA325D #CB4E7B #D97D9E #E7ADC2

Accessibility & contrast

On white

4.27
#CB4E7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CB4E7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4E7B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4E7B#FFFFFF#000000##000000
##CB4E7B1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#656B7C
Deuteranopia (green-blind)
#868378
Tritanopia (blue-blind)
#DB415F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb4e7b;
/* rgb */ color: rgb(203, 78, 123);
/* oklch */ color: oklch(60.2% 0.164 0.9);
Tailwind
colors: {
  custom: {
    50: '#df86a1',
    500: '#cb4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #cb4e7b;
$custom-light: #df86a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4e7b",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 338.4,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60194,
    "c": 0.16364,
    "h": 0.9
  },
  "luminance": 0.19575
}

Semantic roles & 50–950 ramp

primary
#CB4E7B
secondary
#A0D5C2
accent
#DEA94A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CB4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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