#CB397E#CB397E

#CB397E is a mid, vivid pink. Relative luminance 0.171; OKLCH L 58.1% C 0.191 H 356.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CB397E
RGBrgb(203, 57, 126)
HSLhsl(332, 58%, 51%)
HSVhsv(332, 72%, 80%)
CMYKcmyk(0%, 71.9%, 37.9%, 20.4%)
CIE-LABlab(48.43, 62.20, -5.33)
CIE-LCHlch(48.43, 62.43, 355.11°)
OKLaboklab(58.06% 0.1908 -0.0132)
OKLCHoklch(58.06% 0.191 356)
XYZxyz(29.8596, 17.1328, 21.4691)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB397E #39CB86
analogous
#CB39C7 #CB397E #CB3D39
triadic
#CB397E #7ECB39 #397ECB
tetradic
#CB397E #C7CB39 #39CB86 #3D39CB
square
#CB397E #C7CB39 #39CB86 #3D39CB
split-complementary
#CB397E #39CB3D #39C7CB
monochromatic
#6D1D43 #9D2960 #CB397E #D8699E #E49ABD

Accessibility & contrast

On white

4.74
#CB397E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#CB397E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB397E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB397E#FFFFFF#000000##FFFFFF
##CB397E1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556280
Deuteranopia (green-blind)
#7E7D7B
Tritanopia (blue-blind)
#DB2957
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cb397e;
/* rgb */ color: rgb(203, 57, 126);
/* oklch */ color: oklch(58.1% 0.191 356.0);
Tailwind
colors: {
  custom: {
    50: '#e07ba3',
    500: '#cb397e',
    950: '#000000',
  },
}
SCSS
$custom: #cb397e;
$custom-light: #e07ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb397e",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 331.644,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58056,
    "c": 0.19126,
    "h": 356
  },
  "luminance": 0.17129
}

Semantic roles & 50–950 ramp

primary
#CB397E
secondary
#90D0B2
accent
#E29846
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CB397E

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

Preview Lab → · Contrast checker → · Palette generator →

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