#CB398A#CB398A

#CB398A is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.5% C 0.197 H 350.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CB398A
RGBrgb(203, 57, 138)
HSLhsl(327, 58%, 51%)
HSVhsv(327, 72%, 80%)
CMYKcmyk(0%, 71.9%, 32%, 20.4%)
CIE-LABlab(48.84, 63.52, -11.97)
CIE-LCHlch(48.84, 64.64, 349.33°)
OKLaboklab(58.49% 0.1942 -0.0311)
OKLCHoklch(58.49% 0.197 350.9)
XYZxyz(30.6809, 17.4613, 25.7945)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB398A #39CB7A
analogous
#C339CB #CB398A #CB3941
triadic
#CB398A #8ACB39 #398ACB
tetradic
#CB398A #CBC339 #39CB7A #3941CB
square
#CB398A #CBC339 #39CB7A #3941CB
split-complementary
#CB398A #41CB39 #39CBC3
monochromatic
#6D1D49 #9D296A #CB398A #D869A7 #E49AC3

Accessibility & contrast

On white

4.68
#CB398A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#CB398A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB398A
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB398A#FFFFFF#000000##FFFFFF
##CB398A1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51638C
Deuteranopia (green-blind)
#7B7D87
Tritanopia (blue-blind)
#DA2F5D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cb398a;
/* rgb */ color: rgb(203, 57, 138);
/* oklch */ color: oklch(58.5% 0.197 350.9);
Tailwind
colors: {
  custom: {
    50: '#df7cac',
    500: '#cb398a',
    950: '#000000',
  },
}
SCSS
$custom: #cb398a;
$custom-light: #df7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb398a",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 326.712,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5849,
    "c": 0.19662,
    "h": 350.9
  },
  "luminance": 0.17458
}

Semantic roles & 50–950 ramp

primary
#CB398A
secondary
#90D0AC
accent
#E28B46
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CB398A

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

Preview Lab → · Contrast checker → · Palette generator →

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