#CB3A98#CB3A98

#CB3A98 is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.1% C 0.203 H 345.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CB3A98
RGBrgb(203, 58, 152)
HSLhsl(321, 58%, 51%)
HSVhsv(321, 71%, 80%)
CMYKcmyk(0%, 71.4%, 25.1%, 20.4%)
CIE-LABlab(49.49, 64.87, -19.36)
CIE-LCHlch(49.49, 67.70, 343.38°)
OKLaboklab(59.14% 0.1963 -0.0514)
OKLCHoklch(59.14% 0.203 345.3)
XYZxyz(31.8105, 17.9930, 31.4974)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3A98 #3ACB6D
analogous
#B53ACB #CB3A98 #CB3A4F
triadic
#CB3A98 #98CB3A #3A98CB
tetradic
#CB3A98 #CBB53A #3ACB6D #3A4FCB
square
#CB3A98 #CBB53A #3ACB6D #3A4FCB
split-complementary
#CB3A98 #4FCB3A #3ACBB5
monochromatic
#6E1D51 #9E2A75 #CB3A98 #D86AB1 #E59BCB

Accessibility & contrast

On white

4.57
#CB3A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CB3A98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3A98
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3A98#FFFFFF#000000##000000
##CB3A981.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B669B
Deuteranopia (green-blind)
#777F95
Tritanopia (blue-blind)
#D93864
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb3a98;
/* rgb */ color: rgb(203, 58, 152);
/* oklch */ color: oklch(59.1% 0.203 345.3);
Tailwind
colors: {
  custom: {
    50: '#df7cb6',
    500: '#cb3a98',
    950: '#000000',
  },
}
SCSS
$custom: #cb3a98;
$custom-light: #df7cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3a98",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 152
  },
  "hsl": {
    "h": 321.103,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59139,
    "c": 0.20296,
    "h": 345.3
  },
  "luminance": 0.1799
}

Semantic roles & 50–950 ramp

primary
#CB3A98
secondary
#90D0A7
accent
#E17D46
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CB3A98

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

Preview Lab → · Contrast checker → · Palette generator →

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