#CB3A7B#CB3A7B

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

Color values

HEX#CB3A7B
RGBrgb(203, 58, 123)
HSLhsl(333, 58%, 51%)
HSVhsv(333, 71%, 80%)
CMYKcmyk(0%, 71.4%, 39.4%, 20.4%)
CIE-LABlab(48.46, 61.54, -3.46)
CIE-LCHlch(48.46, 61.63, 356.78°)
OKLaboklab(58.05% 0.1888 -0.0083)
OKLCHoklch(58.05% 0.189 357.5)
XYZxyz(29.7188, 17.1563, 20.4816)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3A7B #3ACB8A
analogous
#CB3AC4 #CB3A7B #CB413A
triadic
#CB3A7B #7BCB3A #3A7BCB
tetradic
#CB3A7B #C4CB3A #3ACB8A #413ACB
square
#CB3A7B #C4CB3A #3ACB8A #413ACB
split-complementary
#CB3A7B #3ACB41 #3AC4CB
monochromatic
#6E1D41 #9E2A5E #CB3A7B #D86A9B #E59BBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB3A7B#FFFFFF#000000##FFFFFF
##CB3A7B1.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)
#57627D
Deuteranopia (green-blind)
#7F7D78
Tritanopia (blue-blind)
#DB2956
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cb3a7b;
/* rgb */ color: rgb(203, 58, 123);
/* oklch */ color: oklch(58.0% 0.189 357.5);
Tailwind
colors: {
  custom: {
    50: '#e07ca1',
    500: '#cb3a7b',
    950: '#000000',
  },
}
SCSS
$custom: #cb3a7b;
$custom-light: #e07ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3a7b",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 123
  },
  "hsl": {
    "h": 333.103,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58046,
    "c": 0.18895,
    "h": 357.5
  },
  "luminance": 0.17153
}

Semantic roles & 50–950 ramp

primary
#CB3A7B
secondary
#90D0B4
accent
#E19C46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CB3A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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