#CB396E#CB396E

#CB396E is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.5% C 0.186 H 3.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CB396E
RGBrgb(203, 57, 110)
HSLhsl(338, 58%, 51%)
HSVhsv(338, 72%, 80%)
CMYKcmyk(0%, 71.9%, 45.8%, 20.4%)
CIE-LABlab(47.95, 60.62, 3.71)
CIE-LCHlch(47.95, 60.73, 3.50°)
OKLaboklab(57.55% 0.1856 0.0102)
OKLCHoklch(57.55% 0.186 3.1)
XYZxyz(28.9085, 16.7523, 16.4601)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB396E #39CB96
analogous
#CB39B7 #CB396E #CB4D39
triadic
#CB396E #6ECB39 #396ECB
tetradic
#CB396E #B7CB39 #39CB96 #4D39CB
square
#CB396E #B7CB39 #39CB96 #4D39CB
split-complementary
#CB396E #39CB4D #39B7CB
monochromatic
#6D1D3A #9D2953 #CB396E #D86991 #E49AB5

Accessibility & contrast

On white

4.83
#CB396E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#CB396E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB396E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB396E#FFFFFF#000000##FFFFFF
##CB396E1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A606F
Deuteranopia (green-blind)
#817C6B
Tritanopia (blue-blind)
#DC204F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cb396e;
/* rgb */ color: rgb(203, 57, 110);
/* oklch */ color: oklch(57.5% 0.186 3.1);
Tailwind
colors: {
  custom: {
    50: '#e07b97',
    500: '#cb396e',
    950: '#000000',
  },
}
SCSS
$custom: #cb396e;
$custom-light: #e07b97;
$custom-dark: #000000;
JSON
{
  "hex": "#cb396e",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 338.219,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57545,
    "c": 0.18586,
    "h": 3.1
  },
  "luminance": 0.16749
}

Semantic roles & 50–950 ramp

primary
#CB396E
secondary
#90D0B9
accent
#E2A946
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CB396E

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

Preview Lab → · Contrast checker → · Palette generator →

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