#CB4A8F#CB4A8F

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

Color values

HEX#CB4A8F
RGBrgb(203, 74, 143)
HSLhsl(328, 55%, 54%)
HSVhsv(328, 64%, 80%)
CMYKcmyk(0%, 63.5%, 29.6%, 20.4%)
CIE-LABlab(51.36, 57.63, -11.16)
CIE-LCHlch(51.36, 58.70, 349.04°)
OKLaboklab(60.4% 0.1752 -0.029)
OKLCHoklch(60.4% 0.178 350.6)
XYZxyz(32.0368, 19.5806, 28.0735)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4A8F #4ACB86
analogous
#C74ACB #CB4A8F #CB4A4F
triadic
#CB4A8F #8FCB4A #4A8FCB
tetradic
#CB4A8F #CBC74A #4ACB86 #4A4FCB
square
#CB4A8F #CBC74A #4ACB86 #4A4FCB
split-complementary
#CB4A8F #4FCB4A #4ACBC7
monochromatic
#782350 #A83070 #CB4A8F #D97AAC #E6A9CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB4A8F#FFFFFF#000000##000000
##CB4A8F1.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)
#5C6C91
Deuteranopia (green-blind)
#80838C
Tritanopia (blue-blind)
#D94466
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb4a8f;
/* rgb */ color: rgb(203, 74, 143);
/* oklch */ color: oklch(60.4% 0.178 350.6);
Tailwind
colors: {
  custom: {
    50: '#df84af',
    500: '#cb4a8f',
    950: '#000000',
  },
}
SCSS
$custom: #cb4a8f;
$custom-light: #df84af;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4a8f",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 143
  },
  "hsl": {
    "h": 327.907,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60403,
    "c": 0.1776,
    "h": 350.6
  },
  "luminance": 0.19577
}

Semantic roles & 50–950 ramp

primary
#CB4A8F
secondary
#9DD4B6
accent
#DF8F49
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB4A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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