#4B173F#4B173F

#4B173F is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.4% C 0.095 H 337.9°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#4B173F
RGBrgb(75, 23, 63)
HSLhsl(314, 53%, 19%)
HSVhsv(314, 69%, 29%)
CMYKcmyk(0%, 69.3%, 16%, 70.6%)
CIE-LABlab(17.77, 29.86, -13.21)
CIE-LCHlch(17.77, 32.65, 336.14°)
OKLaboklab(30.35% 0.0879 -0.0357)
OKLCHoklch(30.35% 0.095 337.9)
XYZxyz(4.1053, 2.4679, 4.9618)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B173F #174B23
analogous
#3D174B #4B173F #4B1725
triadic
#4B173F #3F4B17 #173F4B
tetradic
#4B173F #4B3D17 #174B23 #17254B
square
#4B173F #4B3D17 #174B23 #17254B
split-complementary
#4B173F #254B17 #174B3D
monochromatic
#170714 #1C0918 #4B173F #7A2566 #A9348E

Accessibility & contrast

On white

14.06
#4B173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4B173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B173F
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B173F#FFFFFF#000000##FFFFFF
##4B173F1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192640
Deuteranopia (green-blind)
#292E3E
Tritanopia (blue-blind)
#4F1928
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4b173f;
/* rgb */ color: rgb(75, 23, 63);
/* oklch */ color: oklch(30.4% 0.095 337.9);
Tailwind
colors: {
  custom: {
    50: '#7f5874',
    500: '#4b173f',
    950: '#000000',
  },
}
SCSS
$custom: #4b173f;
$custom-light: #7f5874;
$custom-dark: #000000;
JSON
{
  "hex": "#4b173f",
  "rgb": {
    "r": 75,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 313.846,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30355,
    "c": 0.09487,
    "h": 337.9
  },
  "luminance": 0.02468
}

Semantic roles & 50–950 ramp

primary
#4B173F
secondary
#3C824C
accent
#DC6D4B
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4B173F

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

Preview Lab → · Contrast checker → · Palette generator →

#4B173F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva