#451238#451238

#451238 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.3% C 0.092 H 339.4°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#451238
RGBrgb(69, 18, 56)
HSLhsl(315, 59%, 17%)
HSVhsv(315, 74%, 27%)
CMYKcmyk(0%, 73.9%, 18.8%, 72.9%)
CIE-LABlab(15.40, 29.14, -12.04)
CIE-LCHlch(15.40, 31.53, 337.55°)
OKLaboklab(28.28% 0.0864 -0.0325)
OKLCHoklch(28.28% 0.092 339.4)
XYZxyz(3.3844, 1.9837, 3.9453)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451238 #12451F
analogous
#391245 #451238 #45121F
triadic
#451238 #384512 #123845
tetradic
#451238 #453912 #12451F #121F45
square
#451238 #453912 #12451F #121F45
split-complementary
#451238 #1F4512 #124539
monochromatic
#180614 #180614 #451238 #761F5F #A62B87

Accessibility & contrast

On white

15.04
#451238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#451238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451238
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451238#FFFFFF#000000##FFFFFF
##4512381.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152139
Deuteranopia (green-blind)
#242937
Tritanopia (blue-blind)
#491423
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #451238;
/* rgb */ color: rgb(69, 18, 56);
/* oklch */ color: oklch(28.3% 0.092 339.4);
Tailwind
colors: {
  custom: {
    50: '#7b546e',
    500: '#451238',
    950: '#000000',
  },
}
SCSS
$custom: #451238;
$custom-light: #7b546e;
$custom-dark: #000000;
JSON
{
  "hex": "#451238",
  "rgb": {
    "r": 69,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 315.294,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28283,
    "c": 0.09232,
    "h": 339.4
  },
  "luminance": 0.01983
}

Semantic roles & 50–950 ramp

primary
#451238
secondary
#357E47
accent
#E26E46
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#090307
muted
#7B787A

Preview Lab

Preview with #451238

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

Preview Lab → · Contrast checker → · Palette generator →

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