#CB4074#CB4074

#CB4074 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.4% C 0.180 H 1.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CB4074
RGBrgb(203, 64, 116)
HSLhsl(338, 57%, 52%)
HSVhsv(338, 68%, 80%)
CMYKcmyk(0%, 68.5%, 42.9%, 20.4%)
CIE-LABlab(49.04, 58.62, 1.64)
CIE-LCHlch(49.04, 58.65, 1.61°)
OKLaboklab(58.41% 0.1795 0.0049)
OKLCHoklch(58.41% 0.18 1.6)
XYZxyz(29.6165, 17.6279, 18.3625)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4074 #40CB97
analogous
#CB40BA #CB4074 #CB5140
triadic
#CB4074 #74CB40 #4074CB
tetradic
#CB4074 #BACB40 #40CB97 #5140CB
square
#CB4074 #BACB40 #40CB97 #5140CB
split-complementary
#CB4074 #40CB51 #40BACB
monochromatic
#721F3E #A22C58 #CB4074 #D87097 #E5A0BA

Accessibility & contrast

On white

4.64
#CB4074 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#CB4074 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CB4074
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4074#FFFFFF#000000##FFFFFF
##CB40741.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6375
Deuteranopia (green-blind)
#827E71
Tritanopia (blue-blind)
#DC2D55
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cb4074;
/* rgb */ color: rgb(203, 64, 116);
/* oklch */ color: oklch(58.4% 0.180 1.6);
Tailwind
colors: {
  custom: {
    50: '#e07e9b',
    500: '#cb4074',
    950: '#000000',
  },
}
SCSS
$custom: #cb4074;
$custom-light: #e07e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4074",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 337.554,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58409,
    "c": 0.17952,
    "h": 1.6
  },
  "luminance": 0.17624
}

Semantic roles & 50–950 ramp

primary
#CB4074
secondary
#95D2BB
accent
#E0A747
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4074

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

Preview Lab → · Contrast checker → · Palette generator →

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