#CB4170#CB4170

#CB4170 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.4% C 0.177 H 3.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CB4170
RGBrgb(203, 65, 112)
HSLhsl(340, 57%, 53%)
HSVhsv(340, 68%, 80%)
CMYKcmyk(0%, 68%, 44.8%, 20.4%)
CIE-LABlab(49.07, 57.85, 4.11)
CIE-LCHlch(49.07, 58.00, 4.06°)
OKLaboklab(58.39% 0.1768 0.0112)
OKLCHoklch(58.39% 0.177 3.6)
XYZxyz(29.4458, 17.6507, 17.1824)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4170 #41CB9C
analogous
#CB41B5 #CB4170 #CB5741
triadic
#CB4170 #70CB41 #4170CB
tetradic
#CB4170 #B5CB41 #41CB9C #5741CB
square
#CB4170 #B5CB41 #41CB9C #5741CB
split-complementary
#CB4170 #41CB57 #41B5CB
monochromatic
#721F3C #A22C55 #CB4170 #D87194 #E5A1B8

Accessibility & contrast

On white

4.64
#CB4170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#CB4170 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CB4170
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4170#FFFFFF#000000##FFFFFF
##CB41701.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6371
Deuteranopia (green-blind)
#837F6D
Tritanopia (blue-blind)
#DC2D54
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cb4170;
/* rgb */ color: rgb(203, 65, 112);
/* oklch */ color: oklch(58.4% 0.177 3.6);
Tailwind
colors: {
  custom: {
    50: '#e07f98',
    500: '#cb4170',
    950: '#000000',
  },
}
SCSS
$custom: #cb4170;
$custom-light: #e07f98;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4170",
  "rgb": {
    "r": 203,
    "g": 65,
    "b": 112
  },
  "hsl": {
    "h": 339.565,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58393,
    "c": 0.17719,
    "h": 3.6
  },
  "luminance": 0.17647
}

Semantic roles & 50–950 ramp

primary
#CB4170
secondary
#96D2BD
accent
#E0AC48
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CB4170

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

Preview Lab → · Contrast checker → · Palette generator →

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