#CB45AF#CB45AF

#CB45AF is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.2% C 0.204 H 337.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CB45AF
RGBrgb(203, 69, 175)
HSLhsl(313, 56%, 53%)
HSVhsv(313, 66%, 80%)
CMYKcmyk(0%, 66%, 13.8%, 20.4%)
CIE-LABlab(51.89, 64.00, -29.22)
CIE-LCHlch(51.89, 70.36, 335.46°)
OKLaboklab(61.21% 0.1881 -0.0793)
OKLCHoklch(61.21% 0.204 337.1)
XYZxyz(34.4951, 20.0509, 42.6026)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45AF #45CB61
analogous
#A445CB #CB45AF #CB456C
triadic
#CB45AF #AFCB45 #45AFCB
tetradic
#CB45AF #CBA445 #45CB61 #456CCB
square
#CB45AF #CBA445 #45CB61 #456CCB
split-complementary
#CB45AF #6CCB45 #45CBA4
monochromatic
#752163 #A52E8C #CB45AF #D875C4 #E6A5D8

Accessibility & contrast

On white

4.19
#CB45AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CB45AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45AF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45AF#FFFFFF#000000##000000
##CB45AF1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#496FB2
Deuteranopia (green-blind)
#7383AC
Tritanopia (blue-blind)
#D54C74
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb45af;
/* rgb */ color: rgb(203, 69, 175);
/* oklch */ color: oklch(61.2% 0.204 337.1);
Tailwind
colors: {
  custom: {
    50: '#de82c7',
    500: '#cb45af',
    950: '#000000',
  },
}
SCSS
$custom: #cb45af;
$custom-light: #de82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45af",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 312.537,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6121,
    "c": 0.20414,
    "h": 337.1
  },
  "luminance": 0.20048
}

Semantic roles & 50–950 ramp

primary
#CB45AF
secondary
#99D3A5
accent
#E06848
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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