#CB3870#CB3870

#CB3870 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.5% C 0.188 H 2.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CB3870
RGBrgb(203, 56, 112)
HSLhsl(337, 59%, 51%)
HSVhsv(337, 72%, 80%)
CMYKcmyk(0%, 72.4%, 44.8%, 20.4%)
CIE-LABlab(47.88, 61.15, 2.39)
CIE-LCHlch(47.88, 61.20, 2.24°)
OKLaboklab(57.51% 0.1874 0.0068)
OKLCHoklch(57.51% 0.188 2.1)
XYZxyz(28.9697, 16.6985, 17.0237)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3870 #38CB93
analogous
#CB38B9 #CB3870 #CB4938
triadic
#CB3870 #70CB38 #3870CB
tetradic
#CB3870 #B9CB38 #38CB93 #4938CB
square
#CB3870 #B9CB38 #38CB93 #4938CB
split-complementary
#CB3870 #38CB49 #38B9CB
monochromatic
#6C1C3B #9D2955 #CB3870 #D86993 #E499B6

Accessibility & contrast

On white

4.84
#CB3870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#CB3870 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3870
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3870#FFFFFF#000000##FFFFFF
##CB38701.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595F71
Deuteranopia (green-blind)
#807C6D
Tritanopia (blue-blind)
#DC1F50
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cb3870;
/* rgb */ color: rgb(203, 56, 112);
/* oklch */ color: oklch(57.5% 0.188 2.1);
Tailwind
colors: {
  custom: {
    50: '#e07a98',
    500: '#cb3870',
    950: '#000000',
  },
}
SCSS
$custom: #cb3870;
$custom-light: #e07a98;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3870",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 112
  },
  "hsl": {
    "h": 337.143,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57513,
    "c": 0.1875,
    "h": 2.1
  },
  "luminance": 0.16695
}

Semantic roles & 50–950 ramp

primary
#CB3870
secondary
#8FD0B7
accent
#E2A646
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CB3870

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

Preview Lab → · Contrast checker → · Palette generator →

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