#CB397B#CB397B

#CB397B is a mid, vivid pink. Relative luminance 0.171; OKLCH L 58.0% C 0.190 H 357.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CB397B
RGBrgb(203, 57, 123)
HSLhsl(333, 58%, 51%)
HSVhsv(333, 72%, 80%)
CMYKcmyk(0%, 71.9%, 39.4%, 20.4%)
CIE-LABlab(48.33, 61.89, -3.65)
CIE-LCHlch(48.33, 61.99, 356.63°)
OKLaboklab(57.95% 0.1899 -0.0088)
OKLCHoklch(57.95% 0.19 357.3)
XYZxyz(29.6689, 17.0565, 20.4649)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB397B #39CB89
analogous
#CB39C4 #CB397B #CB4039
triadic
#CB397B #7BCB39 #397BCB
tetradic
#CB397B #C4CB39 #39CB89 #4039CB
square
#CB397B #C4CB39 #39CB89 #4039CB
split-complementary
#CB397B #39CB40 #39C4CB
monochromatic
#6D1D41 #9D295E #CB397B #D8699B #E49ABC

Accessibility & contrast

On white

4.76
#CB397B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#CB397B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB397B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB397B#FFFFFF#000000##FFFFFF
##CB397B1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617D
Deuteranopia (green-blind)
#7E7D78
Tritanopia (blue-blind)
#DB2755
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cb397b;
/* rgb */ color: rgb(203, 57, 123);
/* oklch */ color: oklch(58.0% 0.190 357.3);
Tailwind
colors: {
  custom: {
    50: '#e07ba1',
    500: '#cb397b',
    950: '#000000',
  },
}
SCSS
$custom: #cb397b;
$custom-light: #e07ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb397b",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 332.877,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57954,
    "c": 0.19008,
    "h": 357.3
  },
  "luminance": 0.17053
}

Semantic roles & 50–950 ramp

primary
#CB397B
secondary
#90D0B3
accent
#E29B46
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CB397B

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

Preview Lab → · Contrast checker → · Palette generator →

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