#CB4874#CB4874

#CB4874 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.3% C 0.170 H 3.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CB4874
RGBrgb(203, 72, 116)
HSLhsl(340, 56%, 54%)
HSVhsv(340, 65%, 80%)
CMYKcmyk(0%, 64.5%, 42.9%, 20.4%)
CIE-LABlab(50.21, 55.42, 3.34)
CIE-LCHlch(50.21, 55.52, 3.44°)
OKLaboklab(59.28% 0.1693 0.0092)
OKLCHoklch(59.28% 0.17 3.1)
XYZxyz(30.1005, 18.5958, 18.5238)
Luminance0.1859 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4874 #48CB9F
analogous
#CB48B6 #CB4874 #CB5E48
triadic
#CB4874 #74CB48 #4874CB
tetradic
#CB4874 #B6CB48 #48CB9F #5E48CB
square
#CB4874 #B6CB48 #48CB9F #5E48CB
split-complementary
#CB4874 #48CB5E #48B6CB
monochromatic
#77223E #A62F57 #CB4874 #D97898 #E6A7BC

Accessibility & contrast

On white

4.45
#CB4874 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CB4874 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4874
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4874#FFFFFF#000000##000000
##CB48741.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#626775
Deuteranopia (green-blind)
#858171
Tritanopia (blue-blind)
#DC3859
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb4874;
/* rgb */ color: rgb(203, 72, 116);
/* oklch */ color: oklch(59.3% 0.170 3.1);
Tailwind
colors: {
  custom: {
    50: '#e0829b',
    500: '#cb4874',
    950: '#000000',
  },
}
SCSS
$custom: #cb4874;
$custom-light: #e0829b;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4874",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 116
  },
  "hsl": {
    "h": 339.847,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59276,
    "c": 0.16954,
    "h": 3.1
  },
  "luminance": 0.18592
}

Semantic roles & 50–950 ramp

primary
#CB4874
secondary
#9BD3C1
accent
#DFAD49
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4874

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

Preview Lab → · Contrast checker → · Palette generator →

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