#CB3A7A#CB3A7A

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

Color values

HEX#CB3A7A
RGBrgb(203, 58, 122)
HSLhsl(334, 58%, 51%)
HSVhsv(334, 71%, 80%)
CMYKcmyk(0%, 71.4%, 39.9%, 20.4%)
CIE-LABlab(48.43, 61.43, -2.90)
CIE-LCHlch(48.43, 61.50, 357.30°)
OKLaboklab(58.01% 0.1885 -0.0068)
OKLCHoklch(58.01% 0.189 357.9)
XYZxyz(29.6566, 17.1314, 20.1536)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3A7A #3ACB8B
analogous
#CB3AC3 #CB3A7A #CB423A
triadic
#CB3A7A #7ACB3A #3A7ACB
tetradic
#CB3A7A #C3CB3A #3ACB8B #423ACB
square
#CB3A7A #C3CB3A #3ACB8B #423ACB
split-complementary
#CB3A7A #3ACB42 #3AC3CB
monochromatic
#6E1D41 #9E2A5D #CB3A7A #D86A9B #E59BBB

Accessibility & contrast

On white

4.75
#CB3A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CB3A7A
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3A7A#FFFFFF#000000##FFFFFF
##CB3A7A1.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57627C
Deuteranopia (green-blind)
#7F7D77
Tritanopia (blue-blind)
#DB2855
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cb3a7a;
/* rgb */ color: rgb(203, 58, 122);
/* oklch */ color: oklch(58.0% 0.189 357.9);
Tailwind
colors: {
  custom: {
    50: '#e07ca0',
    500: '#cb3a7a',
    950: '#000000',
  },
}
SCSS
$custom: #cb3a7a;
$custom-light: #e07ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3a7a",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 122
  },
  "hsl": {
    "h": 333.517,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58013,
    "c": 0.18857,
    "h": 357.9
  },
  "luminance": 0.17128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB3A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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