#CB3F9D#CB3F9D

#CB3F9D is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.8% C 0.200 H 343.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CB3F9D
RGBrgb(203, 63, 157)
HSLhsl(320, 57%, 52%)
HSVhsv(320, 69%, 80%)
CMYKcmyk(0%, 69%, 22.7%, 20.4%)
CIE-LABlab(50.32, 63.74, -21.06)
CIE-LCHlch(50.32, 67.13, 341.72°)
OKLaboklab(59.81% 0.1919 -0.0562)
OKLCHoklch(59.81% 0.2 343.7)
XYZxyz(32.4931, 18.6891, 33.7879)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3F9D #3FCB6D
analogous
#B33FCB #CB3F9D #CB3F57
triadic
#CB3F9D #9DCB3F #3F9DCB
tetradic
#CB3F9D #CBB33F #3FCB6D #3F57CB
square
#CB3F9D #CBB33F #3FCB6D #3F57CB
split-complementary
#CB3F9D #57CB3F #3FCBB3
monochromatic
#711F56 #A12C7B #CB3F9D #D86FB6 #E59FCE

Accessibility & contrast

On white

4.43
#CB3F9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CB3F9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3F9D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3F9D#FFFFFF#000000##000000
##CB3F9D1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D69A0
Deuteranopia (green-blind)
#77809A
Tritanopia (blue-blind)
#D83F68
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb3f9d;
/* rgb */ color: rgb(203, 63, 157);
/* oklch */ color: oklch(59.8% 0.200 343.7);
Tailwind
colors: {
  custom: {
    50: '#df7fba',
    500: '#cb3f9d',
    950: '#000000',
  },
}
SCSS
$custom: #cb3f9d;
$custom-light: #df7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3f9d",
  "rgb": {
    "r": 203,
    "g": 63,
    "b": 157
  },
  "hsl": {
    "h": 319.714,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59813,
    "c": 0.19994,
    "h": 343.7
  },
  "luminance": 0.18686
}

Semantic roles & 50–950 ramp

primary
#CB3F9D
secondary
#94D1A8
accent
#E17A47
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CB3F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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