#CB47AF#CB47AF

#CB47AF is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.4% C 0.202 H 337.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CB47AF
RGBrgb(203, 71, 175)
HSLhsl(313, 56%, 54%)
HSVhsv(313, 65%, 80%)
CMYKcmyk(0%, 65%, 13.8%, 20.4%)
CIE-LABlab(52.18, 63.22, -28.78)
CIE-LCHlch(52.18, 69.46, 335.52°)
OKLaboklab(61.42% 0.1858 -0.0781)
OKLCHoklch(61.42% 0.202 337.2)
XYZxyz(34.6202, 20.3011, 42.6443)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47AF #47CB63
analogous
#A547CB #CB47AF #CB476D
triadic
#CB47AF #AFCB47 #47AFCB
tetradic
#CB47AF #CBA547 #47CB63 #476DCB
square
#CB47AF #CBA547 #47CB63 #476DCB
split-complementary
#CB47AF #6DCB47 #47CBA5
monochromatic
#762164 #A62F8D #CB47AF #D877C4 #E6A6D8

Accessibility & contrast

On white

4.15
#CB47AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CB47AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB47AF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB47AF#FFFFFF#000000##000000
##CB47AF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6FB2
Deuteranopia (green-blind)
#7484AC
Tritanopia (blue-blind)
#D54D75
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb47af;
/* rgb */ color: rgb(203, 71, 175);
/* oklch */ color: oklch(61.4% 0.202 337.2);
Tailwind
colors: {
  custom: {
    50: '#de83c7',
    500: '#cb47af',
    950: '#000000',
  },
}
SCSS
$custom: #cb47af;
$custom-light: #de83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47af",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 312.727,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61415,
    "c": 0.20152,
    "h": 337.2
  },
  "luminance": 0.20298
}

Semantic roles & 50–950 ramp

primary
#CB47AF
secondary
#9BD3A7
accent
#DF6949
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB47AF

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

Preview Lab → · Contrast checker → · Palette generator →

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