#CB3F8A#CB3F8A

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

Color values

HEX#CB3F8A
RGBrgb(203, 63, 138)
HSLhsl(328, 57%, 52%)
HSVhsv(328, 69%, 80%)
CMYKcmyk(0%, 69%, 32%, 20.4%)
CIE-LABlab(49.61, 61.38, -10.81)
CIE-LCHlch(49.61, 62.32, 350.01°)
OKLaboklab(59.05% 0.1874 -0.028)
OKLCHoklch(59.05% 0.189 351.5)
XYZxyz(30.9952, 18.0900, 25.8993)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3F8A #3FCB80
analogous
#C63FCB #CB3F8A #CB3F44
triadic
#CB3F8A #8ACB3F #3F8ACB
tetradic
#CB3F8A #CBC63F #3FCB80 #3F44CB
square
#CB3F8A #CBC63F #3FCB80 #3F44CB
split-complementary
#CB3F8A #44CB3F #3FCBC6
monochromatic
#711F4B #A12C6B #CB3F8A #D86FA7 #E59FC5

Accessibility & contrast

On white

4.55
#CB3F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB3F8A#FFFFFF#000000##000000
##CB3F8A1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#55668C
Deuteranopia (green-blind)
#7D7F87
Tritanopia (blue-blind)
#DA365F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb3f8a;
/* rgb */ color: rgb(203, 63, 138);
/* oklch */ color: oklch(59.1% 0.189 351.5);
Tailwind
colors: {
  custom: {
    50: '#df7eac',
    500: '#cb3f8a',
    950: '#000000',
  },
}
SCSS
$custom: #cb3f8a;
$custom-light: #df7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3f8a",
  "rgb": {
    "r": 203,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 327.857,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59054,
    "c": 0.18949,
    "h": 351.5
  },
  "luminance": 0.18087
}

Semantic roles & 50–950 ramp

primary
#CB3F8A
secondary
#94D1B1
accent
#E18E47
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB3F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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