#CB3F8C#CB3F8C

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

Color values

HEX#CB3F8C
RGBrgb(203, 63, 140)
HSLhsl(327, 57%, 52%)
HSVhsv(327, 69%, 80%)
CMYKcmyk(0%, 69%, 31%, 20.4%)
CIE-LABlab(49.68, 61.61, -11.90)
CIE-LCHlch(49.68, 62.75, 349.07°)
OKLaboklab(59.13% 0.188 -0.0309)
OKLCHoklch(59.13% 0.19 350.7)
XYZxyz(31.1413, 18.1484, 26.6689)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3F8C #3FCB7E
analogous
#C43FCB #CB3F8C #CB3F46
triadic
#CB3F8C #8CCB3F #3F8CCB
tetradic
#CB3F8C #CBC43F #3FCB7E #3F46CB
square
#CB3F8C #CBC43F #3FCB7E #3F46CB
split-complementary
#CB3F8C #46CB3F #3FCBC4
monochromatic
#711F4C #A12C6C #CB3F8C #D86FA9 #E59FC6

Accessibility & contrast

On white

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

On black

4.63
#CB3F8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3F8C
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3F8C#FFFFFF#000000##000000
##CB3F8C1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#54668E
Deuteranopia (green-blind)
#7C7F89
Tritanopia (blue-blind)
#DA3760
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb3f8c;
/* rgb */ color: rgb(203, 63, 140);
/* oklch */ color: oklch(59.1% 0.190 350.7);
Tailwind
colors: {
  custom: {
    50: '#df7ead',
    500: '#cb3f8c',
    950: '#000000',
  },
}
SCSS
$custom: #cb3f8c;
$custom-light: #df7ead;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3f8c",
  "rgb": {
    "r": 203,
    "g": 63,
    "b": 140
  },
  "hsl": {
    "h": 327,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59129,
    "c": 0.19049,
    "h": 350.7
  },
  "luminance": 0.18145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB3F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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