#A6235F#A6235F

#A6235F is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.172 H 358.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A6235F
RGBrgb(166, 35, 95)
HSLhsl(333, 65%, 39%)
HSVhsv(333, 79%, 65%)
CMYKcmyk(0%, 78.9%, 42.8%, 34.9%)
CIE-LABlab(38.09, 56.07, -2.13)
CIE-LCHlch(38.09, 56.11, 357.82°)
OKLaboklab(48.9% 0.1724 -0.0049)
OKLCHoklch(48.9% 0.172 358.4)
XYZxyz(18.3939, 10.1377, 11.8124)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6235F #23A66A
analogous
#A623A1 #A6235F #A62923
triadic
#A6235F #5FA623 #235FA6
tetradic
#A6235F #A1A623 #23A66A #2923A6
square
#A6235F #A1A623 #23A66A #2923A6
split-complementary
#A6235F #23A629 #23A1A6
monochromatic
#410E25 #731842 #A6235F #D4327C #DF659D

Accessibility & contrast

On white

6.94
#A6235F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A6235F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6235F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6235F#FFFFFF#000000##FFFFFF
##A6235F1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414A60
Deuteranopia (green-blind)
#64635C
Tritanopia (blue-blind)
#B4093E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a6235f;
/* rgb */ color: rgb(166, 35, 95);
/* oklch */ color: oklch(48.9% 0.172 358.4);
Tailwind
colors: {
  custom: {
    50: '#c66c8c',
    500: '#a6235f',
    950: '#000000',
  },
}
SCSS
$custom: #a6235f;
$custom-light: #c66c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6235f",
  "rgb": {
    "r": 166,
    "g": 35,
    "b": 95
  },
  "hsl": {
    "h": 332.519,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48896,
    "c": 0.17247,
    "h": 358.4
  },
  "luminance": 0.10135
}

Semantic roles & 50–950 ramp

primary
#A6235F
secondary
#61C497
accent
#E89B40
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080C
muted
#827A7D

Preview Lab

Preview with #A6235F

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

Preview Lab → · Contrast checker → · Palette generator →

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