#CB3E98#CB3E98

#CB3E98 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.5% C 0.198 H 345.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CB3E98
RGBrgb(203, 62, 152)
HSLhsl(322, 58%, 52%)
HSVhsv(322, 69%, 80%)
CMYKcmyk(0%, 69.5%, 25.1%, 20.4%)
CIE-LABlab(49.99, 63.46, -18.59)
CIE-LCHlch(49.99, 66.13, 343.67°)
OKLaboklab(59.51% 0.192 -0.0493)
OKLCHoklch(59.51% 0.198 345.6)
XYZxyz(32.0200, 18.4121, 31.5673)
Luminance0.1841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3E98 #3ECB71
analogous
#B83ECB #CB3E98 #CB3E52
triadic
#CB3E98 #98CB3E #3E98CB
tetradic
#CB3E98 #CBB83E #3ECB71 #3E52CB
square
#CB3E98 #CBB83E #3ECB71 #3E52CB
split-complementary
#CB3E98 #52CB3E #3ECBB8
monochromatic
#701E53 #A12B76 #CB3E98 #D86EB2 #E59ECB

Accessibility & contrast

On white

4.49
#CB3E98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#CB3E98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3E98
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3E98#FFFFFF#000000##000000
##CB3E981.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F689B
Deuteranopia (green-blind)
#788095
Tritanopia (blue-blind)
#D83B66
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb3e98;
/* rgb */ color: rgb(203, 62, 152);
/* oklch */ color: oklch(59.5% 0.198 345.6);
Tailwind
colors: {
  custom: {
    50: '#df7eb6',
    500: '#cb3e98',
    950: '#000000',
  },
}
SCSS
$custom: #cb3e98;
$custom-light: #df7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3e98",
  "rgb": {
    "r": 203,
    "g": 62,
    "b": 152
  },
  "hsl": {
    "h": 321.702,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59508,
    "c": 0.1982,
    "h": 345.6
  },
  "luminance": 0.18409
}

Semantic roles & 50–950 ramp

primary
#CB3E98
secondary
#94D1AA
accent
#E17F47
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CB3E98

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

Preview Lab → · Contrast checker → · Palette generator →

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