#CB538A#CB538A

#CB538A is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.3% C 0.162 H 354.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CB538A
RGBrgb(203, 83, 138)
HSLhsl(333, 54%, 56%)
HSVhsv(333, 59%, 80%)
CMYKcmyk(0%, 59.1%, 32%, 20.4%)
CIE-LABlab(52.64, 53.08, -6.26)
CIE-LCHlch(52.64, 53.45, 353.27°)
OKLaboklab(61.3% 0.1616 -0.0159)
OKLCHoklch(61.3% 0.162 354.4)
XYZxyz(32.3109, 20.7213, 26.3378)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB538A #53CB94
analogous
#CB53C6 #CB538A #CB5853
triadic
#CB538A #8ACB53 #538ACB
tetradic
#CB538A #C6CB53 #53CB94 #5853CB
square
#CB538A #C6CB53 #53CB94 #5853CB
split-complementary
#CB538A #53CB58 #53C6CB
monochromatic
#7E264E #AD346B #CB538A #D982AA #E7B1CA

Accessibility & contrast

On white

4.08
#CB538A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CB538A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB538A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB538A#FFFFFF#000000##000000
##CB538A1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#65708C
Deuteranopia (green-blind)
#858687
Tritanopia (blue-blind)
#DA4B69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb538a;
/* rgb */ color: rgb(203, 83, 138);
/* oklch */ color: oklch(61.3% 0.162 354.4);
Tailwind
colors: {
  custom: {
    50: '#de89ac',
    500: '#cb538a',
    950: '#000000',
  },
}
SCSS
$custom: #cb538a;
$custom-light: #de89ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb538a",
  "rgb": {
    "r": 203,
    "g": 83,
    "b": 138
  },
  "hsl": {
    "h": 332.5,
    "s": 53.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61299,
    "c": 0.16235,
    "h": 354.4
  },
  "luminance": 0.20718
}

Semantic roles & 50–950 ramp

primary
#CB538A
secondary
#A4D6BF
accent
#DD9A4B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB538A

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

Preview Lab → · Contrast checker → · Palette generator →

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