#CB4870#CB4870

#CB4870 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.2% C 0.169 H 5.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CB4870
RGBrgb(203, 72, 112)
HSLhsl(342, 56%, 54%)
HSVhsv(342, 65%, 80%)
CMYKcmyk(0%, 64.5%, 44.8%, 20.4%)
CIE-LABlab(50.10, 55.03, 5.59)
CIE-LCHlch(50.10, 55.31, 5.81°)
OKLaboklab(59.16% 0.1679 0.015)
OKLCHoklch(59.16% 0.169 5.1)
XYZxyz(29.8728, 18.5047, 17.3247)
Luminance0.1850 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4870 #48CBA3
analogous
#CB48B2 #CB4870 #CB6248
triadic
#CB4870 #70CB48 #4870CB
tetradic
#CB4870 #B2CB48 #48CBA3 #6248CB
square
#CB4870 #B2CB48 #48CBA3 #6248CB
split-complementary
#CB4870 #48CB62 #48B2CB
monochromatic
#77223C #A62F54 #CB4870 #D97895 #E6A7BA

Accessibility & contrast

On white

4.47
#CB4870 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CB4870 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4870
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4870#FFFFFF#000000##000000
##CB48701.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#636771
Deuteranopia (green-blind)
#86816D
Tritanopia (blue-blind)
#DC3658
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb4870;
/* rgb */ color: rgb(203, 72, 112);
/* oklch */ color: oklch(59.2% 0.169 5.1);
Tailwind
colors: {
  custom: {
    50: '#e08298',
    500: '#cb4870',
    950: '#000000',
  },
}
SCSS
$custom: #cb4870;
$custom-light: #e08298;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4870",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 112
  },
  "hsl": {
    "h": 341.679,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5916,
    "c": 0.16852,
    "h": 5.1
  },
  "luminance": 0.18501
}

Semantic roles & 50–950 ramp

primary
#CB4870
secondary
#9BD3C2
accent
#DFB149
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CB4870

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

Preview Lab → · Contrast checker → · Palette generator →

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