#CB3A8F#CB3A8F

#CB3A8F is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.8% C 0.198 H 348.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CB3A8F
RGBrgb(203, 58, 143)
HSLhsl(325, 58%, 51%)
HSVhsv(325, 71%, 80%)
CMYKcmyk(0%, 71.4%, 29.6%, 20.4%)
CIE-LABlab(49.14, 63.76, -14.51)
CIE-LCHlch(49.14, 65.39, 347.18°)
OKLaboklab(58.77% 0.1943 -0.038)
OKLCHoklch(58.77% 0.198 348.9)
XYZxyz(31.1011, 17.7093, 27.7616)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3A8F #3ACB76
analogous
#BF3ACB #CB3A8F #CB3A46
triadic
#CB3A8F #8FCB3A #3A8FCB
tetradic
#CB3A8F #CBBF3A #3ACB76 #3A46CB
square
#CB3A8F #CBBF3A #3ACB76 #3A46CB
split-complementary
#CB3A8F #46CB3A #3ACBBF
monochromatic
#6E1D4C #9E2A6E #CB3A8F #D86AAB #E59BC6

Accessibility & contrast

On white

4.62
#CB3A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#CB3A8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3A8F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3A8F#FFFFFF#000000##FFFFFF
##CB3A8F1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506591
Deuteranopia (green-blind)
#7A7E8C
Tritanopia (blue-blind)
#D9335F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cb3a8f;
/* rgb */ color: rgb(203, 58, 143);
/* oklch */ color: oklch(58.8% 0.198 348.9);
Tailwind
colors: {
  custom: {
    50: '#df7caf',
    500: '#cb3a8f',
    950: '#000000',
  },
}
SCSS
$custom: #cb3a8f;
$custom-light: #df7caf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3a8f",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 143
  },
  "hsl": {
    "h": 324.828,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58773,
    "c": 0.198,
    "h": 348.9
  },
  "luminance": 0.17706
}

Semantic roles & 50–950 ramp

primary
#CB3A8F
secondary
#90D0AB
accent
#E18746
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CB3A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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