#CB3974#CB3974

#CB3974 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.7% C 0.188 H 0.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CB3974
RGBrgb(203, 57, 116)
HSLhsl(336, 58%, 51%)
HSVhsv(336, 72%, 80%)
CMYKcmyk(0%, 71.9%, 42.9%, 20.4%)
CIE-LABlab(48.12, 61.19, 0.30)
CIE-LCHlch(48.12, 61.19, 0.28°)
OKLaboklab(57.73% 0.1876 0.0015)
OKLCHoklch(57.73% 0.188 0.4)
XYZxyz(29.2463, 16.8874, 18.2391)
Luminance0.1688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3974 #39CB90
analogous
#CB39BD #CB3974 #CB4739
triadic
#CB3974 #74CB39 #3974CB
tetradic
#CB3974 #BDCB39 #39CB90 #4739CB
square
#CB3974 #BDCB39 #39CB90 #4739CB
split-complementary
#CB3974 #39CB47 #39BDCB
monochromatic
#6D1D3D #9D2958 #CB3974 #D86996 #E49AB8

Accessibility & contrast

On white

4.80
#CB3974 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#CB3974 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3974
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3974#FFFFFF#000000##FFFFFF
##CB39741.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586075
Deuteranopia (green-blind)
#807C71
Tritanopia (blue-blind)
#DC2352
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cb3974;
/* rgb */ color: rgb(203, 57, 116);
/* oklch */ color: oklch(57.7% 0.188 0.4);
Tailwind
colors: {
  custom: {
    50: '#e07b9b',
    500: '#cb3974',
    950: '#000000',
  },
}
SCSS
$custom: #cb3974;
$custom-light: #e07b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3974",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 116
  },
  "hsl": {
    "h": 335.753,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57727,
    "c": 0.18763,
    "h": 0.4
  },
  "luminance": 0.16884
}

Semantic roles & 50–950 ramp

primary
#CB3974
secondary
#90D0B6
accent
#E2A346
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CB3974

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

Preview Lab → · Contrast checker → · Palette generator →

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