#CB3E7C#CB3E7C

#CB3E7C is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.5% C 0.185 H 357.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CB3E7C
RGBrgb(203, 62, 124)
HSLhsl(334, 58%, 52%)
HSVhsv(334, 69%, 80%)
CMYKcmyk(0%, 69.5%, 38.9%, 20.4%)
CIE-LABlab(49.01, 60.19, -3.26)
CIE-LCHlch(49.01, 60.28, 356.90°)
OKLaboklab(58.46% 0.1845 -0.0078)
OKLCHoklch(58.46% 0.185 357.6)
XYZxyz(29.9913, 17.6006, 20.8828)
Luminance0.1760 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3E7C #3ECB8D
analogous
#CB3EC3 #CB3E7C #CB473E
triadic
#CB3E7C #7CCB3E #3E7CCB
tetradic
#CB3E7C #C3CB3E #3ECB8D #473ECB
square
#CB3E7C #C3CB3E #3ECB8D #473ECB
split-complementary
#CB3E7C #3ECB47 #3EC3CB
monochromatic
#701E42 #A12B5F #CB3E7C #D86E9D #E59EBD

Accessibility & contrast

On white

4.65
#CB3E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#CB3E7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3E7C
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3E7C#FFFFFF#000000##FFFFFF
##CB3E7C1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59647E
Deuteranopia (green-blind)
#807E79
Tritanopia (blue-blind)
#DB2E58
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cb3e7c;
/* rgb */ color: rgb(203, 62, 124);
/* oklch */ color: oklch(58.5% 0.185 357.6);
Tailwind
colors: {
  custom: {
    50: '#e07da1',
    500: '#cb3e7c',
    950: '#000000',
  },
}
SCSS
$custom: #cb3e7c;
$custom-light: #e07da1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3e7c",
  "rgb": {
    "r": 203,
    "g": 62,
    "b": 124
  },
  "hsl": {
    "h": 333.617,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58463,
    "c": 0.18465,
    "h": 357.6
  },
  "luminance": 0.17597
}

Semantic roles & 50–950 ramp

primary
#CB3E7C
secondary
#94D1B6
accent
#E19D47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CB3E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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