#CB538C#CB538C

#CB538C is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.4% C 0.163 H 353.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CB538C
RGBrgb(203, 83, 140)
HSLhsl(332, 54%, 56%)
HSVhsv(332, 59%, 80%)
CMYKcmyk(0%, 59.1%, 31%, 20.4%)
CIE-LABlab(52.71, 53.33, -7.36)
CIE-LCHlch(52.71, 53.83, 352.15°)
OKLaboklab(61.37% 0.1622 -0.0188)
OKLCHoklch(61.37% 0.163 353.4)
XYZxyz(32.4570, 20.7798, 27.1074)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB538C #53CB92
analogous
#CB53C8 #CB538C #CB5653
triadic
#CB538C #8CCB53 #538CCB
tetradic
#CB538C #C8CB53 #53CB92 #5653CB
square
#CB538C #C8CB53 #53CB92 #5653CB
split-complementary
#CB538C #53CB56 #53C8CB
monochromatic
#7E2650 #AD346D #CB538C #D982AB #E7B1CB

Accessibility & contrast

On white

4.07
#CB538C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CB538C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB538C
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB538C#FFFFFF#000000##000000
##CB538C1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#64708E
Deuteranopia (green-blind)
#858689
Tritanopia (blue-blind)
#D94C69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb538c;
/* rgb */ color: rgb(203, 83, 140);
/* oklch */ color: oklch(61.4% 0.163 353.4);
Tailwind
colors: {
  custom: {
    50: '#de89ad',
    500: '#cb538c',
    950: '#000000',
  },
}
SCSS
$custom: #cb538c;
$custom-light: #de89ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cb538c",
  "rgb": {
    "r": 203,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 331.5,
    "s": 53.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61369,
    "c": 0.16327,
    "h": 353.4
  },
  "luminance": 0.20776
}

Semantic roles & 50–950 ramp

primary
#CB538C
secondary
#A4D6BE
accent
#DD984B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB538C

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

Preview Lab → · Contrast checker → · Palette generator →

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