#CB5074#CB5074

#CB5074 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.2% C 0.159 H 5.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CB5074
RGBrgb(203, 80, 116)
HSLhsl(342, 54%, 55%)
HSVhsv(342, 61%, 80%)
CMYKcmyk(0%, 60.6%, 42.9%, 20.4%)
CIE-LABlab(51.49, 51.96, 5.18)
CIE-LCHlch(51.49, 52.21, 5.70°)
OKLaboklab(60.23% 0.1583 0.0139)
OKLCHoklch(60.23% 0.159 5)
XYZxyz(30.6517, 19.6983, 18.7076)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5074 #50CBA7
analogous
#CB50B1 #CB5074 #CB6950
triadic
#CB5074 #74CB50 #5074CB
tetradic
#CB5074 #B1CB50 #50CBA7 #6950CB
square
#CB5074 #B1CB50 #50CBA7 #6950CB
split-complementary
#CB5074 #50CB69 #50B1CB
monochromatic
#7C253E #AB3356 #CB5074 #D97F99 #E7AEBF

Accessibility & contrast

On white

4.25
#CB5074 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CB5074 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5074
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5074#FFFFFF#000000##000000
##CB50741.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#686C75
Deuteranopia (green-blind)
#898471
Tritanopia (blue-blind)
#DC415E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb5074;
/* rgb */ color: rgb(203, 80, 116);
/* oklch */ color: oklch(60.2% 0.159 5.0);
Tailwind
colors: {
  custom: {
    50: '#df879b',
    500: '#cb5074',
    950: '#000000',
  },
}
SCSS
$custom: #cb5074;
$custom-light: #df879b;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5074",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 116
  },
  "hsl": {
    "h": 342.439,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60232,
    "c": 0.15895,
    "h": 5
  },
  "luminance": 0.19695
}

Semantic roles & 50–950 ramp

primary
#CB5074
secondary
#A2D5C6
accent
#DEB24A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CB5074

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

Preview Lab → · Contrast checker → · Palette generator →

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