#AF234C#AF234C

#AF234C is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.175 H 9.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#AF234C
RGBrgb(175, 35, 76)
HSLhsl(342, 67%, 41%)
HSVhsv(342, 80%, 69%)
CMYKcmyk(0%, 80%, 56.6%, 31.4%)
CIE-LABlab(39.31, 56.92, 11.96)
CIE-LCHlch(39.31, 58.17, 11.86°)
OKLaboklab(49.94% 0.1727 0.0301)
OKLCHoklch(49.94% 0.175 9.9)
XYZxyz(19.5867, 10.8407, 7.8972)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF234C #23AF86
analogous
#AF2392 #AF234C #AF4023
triadic
#AF234C #4CAF23 #234CAF
tetradic
#AF234C #92AF23 #23AF86 #4023AF
square
#AF234C #92AF23 #23AF86 #4023AF
split-complementary
#AF234C #23AF40 #2392AF
monochromatic
#490F20 #7C1936 #AF234C #D73867 #E16B8E

Accessibility & contrast

On white

6.63
#AF234C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AF234C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF234C
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF234C#FFFFFF#000000##FFFFFF
##AF234C1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4B4D
Deuteranopia (green-blind)
#6E6748
Tritanopia (blue-blind)
#BF0035
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af234c;
/* rgb */ color: rgb(175, 35, 76);
/* oklch */ color: oklch(49.9% 0.175 9.9);
Tailwind
colors: {
  custom: {
    50: '#ce6d7d',
    500: '#af234c',
    950: '#000000',
  },
}
SCSS
$custom: #af234c;
$custom-light: #ce6d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#af234c",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 76
  },
  "hsl": {
    "h": 342.429,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49936,
    "c": 0.17536,
    "h": 9.9
  },
  "luminance": 0.10838
}

Semantic roles & 50–950 ramp

primary
#AF234C
secondary
#66C7AB
accent
#EAB73E
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF234C

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

Preview Lab → · Contrast checker → · Palette generator →

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