#CB4A7B#CB4A7B

#CB4A7B is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.7% C 0.169 H 0.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CB4A7B
RGBrgb(203, 74, 123)
HSLhsl(337, 55%, 54%)
HSVhsv(337, 64%, 80%)
CMYKcmyk(0%, 63.5%, 39.4%, 20.4%)
CIE-LABlab(50.72, 55.31, -0.14)
CIE-LCHlch(50.72, 55.31, 359.86°)
OKLaboklab(59.72% 0.1691 0.0003)
OKLCHoklch(59.72% 0.169 0.1)
XYZxyz(30.6545, 19.0277, 20.7934)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4A7B #4ACB9A
analogous
#CB4ABC #CB4A7B #CB5A4A
triadic
#CB4A7B #7BCB4A #4A7BCB
tetradic
#CB4A7B #BCCB4A #4ACB9A #5A4ACB
square
#CB4A7B #BCCB4A #4ACB9A #5A4ACB
split-complementary
#CB4A7B #4ACB5A #4ABCCB
monochromatic
#782343 #A8305E #CB4A7B #D97A9E #E6A9C0

Accessibility & contrast

On white

4.37
#CB4A7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CB4A7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4A7B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4A7B#FFFFFF#000000##000000
##CB4A7B1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#62697C
Deuteranopia (green-blind)
#858278
Tritanopia (blue-blind)
#DB3D5D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb4a7b;
/* rgb */ color: rgb(203, 74, 123);
/* oklch */ color: oklch(59.7% 0.169 0.1);
Tailwind
colors: {
  custom: {
    50: '#df84a1',
    500: '#cb4a7b',
    950: '#000000',
  },
}
SCSS
$custom: #cb4a7b;
$custom-light: #df84a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4a7b",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 123
  },
  "hsl": {
    "h": 337.209,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59719,
    "c": 0.16905,
    "h": 0.1
  },
  "luminance": 0.19024
}

Semantic roles & 50–950 ramp

primary
#CB4A7B
secondary
#9DD4BF
accent
#DFA649
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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