#CB3874#CB3874

#CB3874 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.6% C 0.189 H 0.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CB3874
RGBrgb(203, 56, 116)
HSLhsl(336, 59%, 51%)
HSVhsv(336, 72%, 80%)
CMYKcmyk(0%, 72.4%, 42.9%, 20.4%)
CIE-LABlab(47.99, 61.53, 0.12)
CIE-LCHlch(47.99, 61.53, 0.11°)
OKLaboklab(57.64% 0.1887 0.001)
OKLCHoklch(57.64% 0.189 0.3)
XYZxyz(29.1973, 16.7895, 18.2228)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3874 #38CB8F
analogous
#CB38BE #CB3874 #CB4538
triadic
#CB3874 #74CB38 #3874CB
tetradic
#CB3874 #BECB38 #38CB8F #4538CB
square
#CB3874 #BECB38 #38CB8F #4538CB
split-complementary
#CB3874 #38CB45 #38BECB
monochromatic
#6C1C3D #9D2958 #CB3874 #D86996 #E499B8

Accessibility & contrast

On white

4.82
#CB3874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#CB3874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3874
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3874#FFFFFF#000000##FFFFFF
##CB38741.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586075
Deuteranopia (green-blind)
#7F7C71
Tritanopia (blue-blind)
#DC2251
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cb3874;
/* rgb */ color: rgb(203, 56, 116);
/* oklch */ color: oklch(57.6% 0.189 0.3);
Tailwind
colors: {
  custom: {
    50: '#e07a9b',
    500: '#cb3874',
    950: '#000000',
  },
}
SCSS
$custom: #cb3874;
$custom-light: #e07a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3874",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 116
  },
  "hsl": {
    "h": 335.51,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57636,
    "c": 0.18873,
    "h": 0.3
  },
  "luminance": 0.16786
}

Semantic roles & 50–950 ramp

primary
#CB3874
secondary
#8FD0B5
accent
#E2A246
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CB3874

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

Preview Lab → · Contrast checker → · Palette generator →

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