#CB3F8B#CB3F8B

#CB3F8B is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.1% C 0.190 H 351.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CB3F8B
RGBrgb(203, 63, 139)
HSLhsl(327, 57%, 52%)
HSVhsv(327, 69%, 80%)
CMYKcmyk(0%, 69%, 31.5%, 20.4%)
CIE-LABlab(49.64, 61.49, -11.35)
CIE-LCHlch(49.64, 62.53, 349.54°)
OKLaboklab(59.09% 0.1877 -0.0294)
OKLCHoklch(59.09% 0.19 351.1)
XYZxyz(31.0679, 18.1191, 26.2823)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3F8B #3FCB7F
analogous
#C53FCB #CB3F8B #CB3F45
triadic
#CB3F8B #8BCB3F #3F8BCB
tetradic
#CB3F8B #CBC53F #3FCB7F #3F45CB
square
#CB3F8B #CBC53F #3FCB7F #3F45CB
split-complementary
#CB3F8B #45CB3F #3FCBC5
monochromatic
#711F4B #A12C6B #CB3F8B #D86FA8 #E59FC5

Accessibility & contrast

On white

4.54
#CB3F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#CB3F8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3F8B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3F8B#FFFFFF#000000##000000
##CB3F8B1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#55668D
Deuteranopia (green-blind)
#7C7F88
Tritanopia (blue-blind)
#DA375F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb3f8b;
/* rgb */ color: rgb(203, 63, 139);
/* oklch */ color: oklch(59.1% 0.190 351.1);
Tailwind
colors: {
  custom: {
    50: '#df7eac',
    500: '#cb3f8b',
    950: '#000000',
  },
}
SCSS
$custom: #cb3f8b;
$custom-light: #df7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3f8b",
  "rgb": {
    "r": 203,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 327.429,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59091,
    "c": 0.18999,
    "h": 351.1
  },
  "luminance": 0.18116
}

Semantic roles & 50–950 ramp

primary
#CB3F8B
secondary
#94D1B0
accent
#E18D47
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB3F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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