#CB397F#CB397F

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

Color values

HEX#CB397F
RGBrgb(203, 57, 127)
HSLhsl(331, 58%, 51%)
HSVhsv(331, 72%, 80%)
CMYKcmyk(0%, 71.9%, 37.4%, 20.4%)
CIE-LABlab(48.46, 62.30, -5.88)
CIE-LCHlch(48.46, 62.58, 354.60°)
OKLaboklab(58.09% 0.1911 -0.0147)
OKLCHoklch(58.09% 0.192 355.6)
XYZxyz(29.9244, 17.1587, 21.8107)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB397F #39CB85
analogous
#CB39C8 #CB397F #CB3C39
triadic
#CB397F #7FCB39 #397FCB
tetradic
#CB397F #C8CB39 #39CB85 #3C39CB
square
#CB397F #C8CB39 #39CB85 #3C39CB
split-complementary
#CB397F #39CB3C #39C8CB
monochromatic
#6D1D43 #9D2961 #CB397F #D8699E #E49ABE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB397F#FFFFFF#000000##FFFFFF
##CB397F1.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)
#556281
Deuteranopia (green-blind)
#7D7D7C
Tritanopia (blue-blind)
#DB2957
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cb397f;
/* rgb */ color: rgb(203, 57, 127);
/* oklch */ color: oklch(58.1% 0.192 355.6);
Tailwind
colors: {
  custom: {
    50: '#e07ba4',
    500: '#cb397f',
    950: '#000000',
  },
}
SCSS
$custom: #cb397f;
$custom-light: #e07ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb397f",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 331.233,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5809,
    "c": 0.19167,
    "h": 355.6
  },
  "luminance": 0.17155
}

Semantic roles & 50–950 ramp

primary
#CB397F
secondary
#90D0B1
accent
#E29746
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CB397F

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

Preview Lab → · Contrast checker → · Palette generator →

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