#CB4072#CB4072

#CB4072 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.3% C 0.179 H 2.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CB4072
RGBrgb(203, 64, 114)
HSLhsl(338, 57%, 52%)
HSVhsv(338, 68%, 80%)
CMYKcmyk(0%, 68.5%, 43.8%, 20.4%)
CIE-LABlab(48.98, 58.43, 2.77)
CIE-LCHlch(48.98, 58.49, 2.72°)
OKLaboklab(58.35% 0.1788 0.0078)
OKLCHoklch(58.35% 0.179 2.5)
XYZxyz(29.5015, 17.5819, 17.7564)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4072 #40CB99
analogous
#CB40B8 #CB4072 #CB5340
triadic
#CB4072 #72CB40 #4072CB
tetradic
#CB4072 #B8CB40 #40CB99 #5340CB
square
#CB4072 #B8CB40 #40CB99 #5340CB
split-complementary
#CB4072 #40CB53 #40B8CB
monochromatic
#721F3D #A22C56 #CB4072 #D87096 #E5A0B9

Accessibility & contrast

On white

4.65
#CB4072 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#CB4072 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CB4072
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4072#FFFFFF#000000##FFFFFF
##CB40721.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6373
Deuteranopia (green-blind)
#837E6F
Tritanopia (blue-blind)
#DC2D54
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cb4072;
/* rgb */ color: rgb(203, 64, 114);
/* oklch */ color: oklch(58.3% 0.179 2.5);
Tailwind
colors: {
  custom: {
    50: '#e07e9a',
    500: '#cb4072',
    950: '#000000',
  },
}
SCSS
$custom: #cb4072;
$custom-light: #e07e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4072",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 338.417,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58349,
    "c": 0.17893,
    "h": 2.5
  },
  "luminance": 0.17578
}

Semantic roles & 50–950 ramp

primary
#CB4072
secondary
#95D2BC
accent
#E0A947
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4072

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

Preview Lab → · Contrast checker → · Palette generator →

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