#CB538E#CB538E

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

Color values

HEX#CB538E
RGBrgb(203, 83, 142)
HSLhsl(331, 54%, 56%)
HSVhsv(331, 59%, 80%)
CMYKcmyk(0%, 59.1%, 30%, 20.4%)
CIE-LABlab(52.77, 53.58, -8.44)
CIE-LCHlch(52.77, 54.24, 351.04°)
OKLaboklab(61.44% 0.1628 -0.0217)
OKLCHoklch(61.44% 0.164 352.4)
XYZxyz(32.6058, 20.8393, 27.8912)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB538E #53CB90
analogous
#CB53CA #CB538E #CB5453
triadic
#CB538E #8ECB53 #538ECB
tetradic
#CB538E #CACB53 #53CB90 #5453CB
square
#CB538E #CACB53 #53CB90 #5453CB
split-complementary
#CB538E #53CB54 #53CACB
monochromatic
#7E2651 #AD346F #CB538E #D982AD #E7B1CC

Accessibility & contrast

On white

4.06
#CB538E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CB538E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB538E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB538E#FFFFFF#000000##000000
##CB538E1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#647090
Deuteranopia (green-blind)
#84868B
Tritanopia (blue-blind)
#D94D6A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb538e;
/* rgb */ color: rgb(203, 83, 142);
/* oklch */ color: oklch(61.4% 0.164 352.4);
Tailwind
colors: {
  custom: {
    50: '#de89af',
    500: '#cb538e',
    950: '#000000',
  },
}
SCSS
$custom: #cb538e;
$custom-light: #de89af;
$custom-dark: #000000;
JSON
{
  "hex": "#cb538e",
  "rgb": {
    "r": 203,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 330.5,
    "s": 53.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61439,
    "c": 0.16424,
    "h": 352.4
  },
  "luminance": 0.20836
}

Semantic roles & 50–950 ramp

primary
#CB538E
secondary
#A4D6BD
accent
#DD954B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB538E

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

Preview Lab → · Contrast checker → · Palette generator →

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