#CB4BAF#CB4BAF

#CB4BAF is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.8% C 0.196 H 337.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CB4BAF
RGBrgb(203, 75, 175)
HSLhsl(313, 55%, 55%)
HSVhsv(313, 63%, 80%)
CMYKcmyk(0%, 63.1%, 13.8%, 20.4%)
CIE-LABlab(52.76, 61.61, -27.88)
CIE-LCHlch(52.76, 67.62, 335.65°)
OKLaboklab(61.84% 0.181 -0.0755)
OKLCHoklch(61.84% 0.196 337.4)
XYZxyz(34.8831, 20.8268, 42.7319)
Luminance0.2082 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4BAF #4BCB67
analogous
#A74BCB #CB4BAF #CB4B6F
triadic
#CB4BAF #AFCB4B #4BAFCB
tetradic
#CB4BAF #CBA74B #4BCB67 #4B6FCB
square
#CB4BAF #CBA74B #4BCB67 #4B6FCB
split-complementary
#CB4BAF #6FCB4B #4BCBA7
monochromatic
#792366 #A8318E #CB4BAF #D97AC4 #E6AAD9

Accessibility & contrast

On white

4.07
#CB4BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CB4BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4BAF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4BAF#FFFFFF#000000##000000
##CB4BAF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E71B2
Deuteranopia (green-blind)
#7685AC
Tritanopia (blue-blind)
#D55176
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb4baf;
/* rgb */ color: rgb(203, 75, 175);
/* oklch */ color: oklch(61.8% 0.196 337.4);
Tailwind
colors: {
  custom: {
    50: '#de85c7',
    500: '#cb4baf',
    950: '#000000',
  },
}
SCSS
$custom: #cb4baf;
$custom-light: #de85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4baf",
  "rgb": {
    "r": 203,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 313.125,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61841,
    "c": 0.19612,
    "h": 337.4
  },
  "luminance": 0.20824
}

Semantic roles & 50–950 ramp

primary
#CB4BAF
secondary
#9ED4AA
accent
#DF6A49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB4BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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