#CB3FAF#CB3FAF

#CB3FAF is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 60.6% C 0.212 H 337.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CB3FAF
RGBrgb(203, 63, 175)
HSLhsl(312, 57%, 52%)
HSVhsv(312, 69%, 80%)
CMYKcmyk(0%, 69%, 13.8%, 20.4%)
CIE-LABlab(51.09, 66.24, -30.47)
CIE-LCHlch(51.09, 72.91, 335.30°)
OKLaboklab(60.63% 0.1948 -0.0828)
OKLCHoklch(60.63% 0.212 337)
XYZxyz(34.1445, 19.3497, 42.4857)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3FAF #3FCB5B
analogous
#A13FCB #CB3FAF #CB3F69
triadic
#CB3FAF #AFCB3F #3FAFCB
tetradic
#CB3FAF #CBA13F #3FCB5B #3F69CB
square
#CB3FAF #CBA13F #3FCB5B #3F69CB
split-complementary
#CB3FAF #69CB3F #3FCBA1
monochromatic
#711F61 #A12C8A #CB3FAF #D86FC3 #E59FD7

Accessibility & contrast

On white

4.31
#CB3FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CB3FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3FAF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3FAF#FFFFFF#000000##000000
##CB3FAF1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#436CB2
Deuteranopia (green-blind)
#7181AC
Tritanopia (blue-blind)
#D64772
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb3faf;
/* rgb */ color: rgb(203, 63, 175);
/* oklch */ color: oklch(60.6% 0.212 337.0);
Tailwind
colors: {
  custom: {
    50: '#df7fc7',
    500: '#cb3faf',
    950: '#000000',
  },
}
SCSS
$custom: #cb3faf;
$custom-light: #df7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3faf",
  "rgb": {
    "r": 203,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 312,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60628,
    "c": 0.21165,
    "h": 337
  },
  "luminance": 0.19347
}

Semantic roles & 50–950 ramp

primary
#CB3FAF
secondary
#94D1A1
accent
#E16647
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB3FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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